/* Carla Radresa Badosa — portfolio
   Tokens taken from the Figma file (portfolio-carla). */
:root {
  --orange: #ebb220;
  --blue: #027ffe;
  --red: #ff7070;
  --ink: #252325;
  --black: #000;
  --grey: #808080;
  --text: #4a5565;
  --muted: #6a7282;
  --line: #f3f4f6;
  --faint: #d1d5dc;
  --page-x: 120px;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-y: scroll; scrollbar-gutter: stable; }
body {
  background: #fff;
  color: var(--ink);
  font-family: "Raleway", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--page-x)); margin: 0 auto; padding: 0 var(--page-x); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: 107px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.site-header .inner {
  height: 100%; max-width: 1440px; margin: 0 auto;
  padding: 24px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 44px; }
.brand .logo { width: 47px; height: 59px; }
.brand .name { font-family: "Inter", sans-serif; font-size: 20px; color: var(--black); white-space: nowrap; }
.brand .name b { font-weight: 800; }
.brand .name .flip { display: inline-block; transform: scaleX(-1); }

.nav { display: flex; gap: 46px; }
.nav a {
  width: 83px; padding: 8px 0; text-align: center;
  font-size: 16px; font-weight: 500; text-transform: uppercase; white-space: nowrap;
  color: var(--grey);
  border-bottom: 1px solid transparent;
  transition: color .2s;
}
.nav a:hover { color: var(--black); }
.nav a[aria-current="page"] { color: var(--black); font-weight: 600; border-bottom-color: var(--black); }

/* ---------- Shared pieces ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-family: "Inter", sans-serif; font-weight: 500; font-size: 11px; line-height: 16.5px;
  letter-spacing: 1.65px; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--orange); }

.dots { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding-top: 24px; flex-shrink: 0; }
.dots span { border-radius: 50%; opacity: .85; }
.dots span:nth-child(1) { width: 8px; height: 8px; background: var(--orange); }
.dots span:nth-child(2) { width: 12px; height: 12px; background: var(--blue); }
.dots span:nth-child(3) { width: 16px; height: 16px; background: var(--red); }

.hero { padding-top: 64px; padding-bottom: 120px; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }

.h1-xl { font-weight: 900; font-size: 72px; line-height: 68.4px; letter-spacing: -1.8px; color: var(--ink); }
.h1 { font-weight: 900; font-size: 72px; line-height: 68.4px; letter-spacing: -1.8px; color: var(--ink); }
.h2 { font-weight: 900; font-size: 56px; line-height: 56px; letter-spacing: -1.4px; color: var(--ink); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 24px; border: .5px solid var(--black); border-radius: 21px;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 12px; line-height: 18px;
  letter-spacing: .6px; text-transform: uppercase; color: var(--black); white-space: nowrap;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--black); color: #fff; }

.tag {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px;
  font-family: "Inter", sans-serif; font-weight: 700; font-size: 11px; line-height: 16.5px;
  letter-spacing: .6145px; text-transform: uppercase; color: #fff; white-space: nowrap;
}

/* ---------- Home ---------- */
.intro-head { display: flex; align-items: center; gap: 16px; margin: 28px 0; }
.intro-head img { width: 30px; height: 50px; margin-bottom: 8px; }
.intro { font-size: 20px; line-height: 32px; color: var(--black); max-width: 760px; }
.intro br { display: none; }
.intro b { font-weight: 700; }
.intro p + p { margin-top: 20px; }

.divider {
  display: flex; align-items: center; gap: 16px;
  max-width: 1152px; margin: 24px auto 0; padding: 0 32px;
  font-family: "Inter", sans-serif; font-weight: 500; font-size: 11px; line-height: 16.5px;
  letter-spacing: 2.2px; text-transform: uppercase; color: var(--faint); white-space: nowrap;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.projects { display: flex; flex-direction: column; gap: 80px; padding-top: 48px; padding-bottom: 120px; }
.project { display: flex; flex-direction: column; gap: 24px; }
.project .preview {
  position: relative; height: 420px; border: 1px solid; border-radius: 16px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.project .preview img { transition: transform .5s ease; }
.project:hover .preview img { transform: scale(1.02); }
.project .meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 0 4px; }
.project .info { display: flex; flex-direction: column; gap: 8px; }
.project h3 { font-weight: 700; font-size: 22px; line-height: 33px; letter-spacing: .55px; color: var(--ink); }
.project .desc { font-family: "Figtree", sans-serif; font-size: 16px; line-height: 26px; color: var(--text); max-width: 640px; }
.project .tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.project .btn-outline { margin-top: 4px; }

.pv-cafler { background: #e4f2ff; border-color: #e4f2ff !important; }
.pv-cafler img { position: absolute; width: 467px; height: 646px; left: 50%; top: 50%; transform: translate(-50%, calc(-50% + 142px)); object-fit: cover; }
.project:hover .pv-cafler img { transform: translate(-50%, calc(-50% + 132px)); }
.pv-wattwin { background: #f2f4fd; border-color: #e8ecff !important; }
.pv-wattwin img { width: 563px; height: 355px; object-fit: contain; filter: drop-shadow(0 9px 14px rgba(0,0,0,.1)); }
.pv-apptiv { background: #fffbef; border-color: #fff8e2 !important; }
.pv-apptiv img { width: 100%; height: 100%; object-fit: cover; }
.pv-volvero { background: #d0e7ff; border-color: #bbdcfd !important; display: block !important; }
.pv-volvero .stage { position: absolute; left: 50%; top: 0; width: 1198px; height: 418px; margin-left: -599px; }
.pv-volvero .phone { position: absolute; left: 387px; top: 36.5px; width: 216px; height: 438px; border-radius: 32px; object-fit: cover; }
.pv-volvero .detail { position: absolute; left: 565px; top: 115px; width: 189.5px; height: 227px; border-radius: 16px; object-fit: cover; transform: rotate(4deg); box-shadow: 0 4px 8px rgba(0,0,0,.15); }
.project:hover .pv-volvero img { transform: none; }
.project:hover .pv-volvero .detail { transform: rotate(4deg) translateY(-6px); }

.t-cafler { background: #137a4f; }
.t-wattwin { background: #3a0082; }
.t-apptiv { background: var(--orange); }
.t-volvero { background: var(--blue); }

/* ---------- Footer CTA ---------- */
.cta { background: var(--ink); padding: 64px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta .mini-dots { display: flex; gap: 10px; margin-bottom: 12px; }
.cta .mini-dots span { width: 8px; height: 8px; border-radius: 50%; opacity: .7; }
.cta h2 { font-weight: 900; font-style: italic; font-size: 44px; line-height: 44px; letter-spacing: -1.1px; color: #fff; }
.cta .btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 17px 29px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  font-weight: 600; font-size: 14px; line-height: 21px; letter-spacing: .7px; text-transform: uppercase;
  color: rgba(255,255,255,.8); white-space: nowrap; transition: border-color .2s, color .2s;
}
.cta .btn:hover { border-color: rgba(255,255,255,.6); color: #fff; }
.cta .btn i { width: 32px; height: 32px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; transition: transform .2s; }
.cta .btn:hover i { transform: translateX(3px); }

/* ---------- About ---------- */
.about-hero { padding-top: 64px; padding-bottom: 64px; }
.about-hero .col { display: flex; flex-direction: column; gap: 28px; max-width: 1008px; }
.lead { max-width: 600px; font-family: "Roboto", sans-serif; font-weight: 300; font-size: 18px; line-height: 29.25px; color: var(--text); }
.lead p + p { margin-top: 16px; }
.certs { padding-top: 64px; padding-bottom: 128px; }
.certs .head { display: flex; flex-direction: column; gap: 12px; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 56px; }
.cert { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 20px rgba(0,0,0,.07); display: flex; flex-direction: column; min-height: 293.6px; }
.cert::before { content: ""; height: 6px; background: var(--c); }
.cert .body { flex: 1; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.cert .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--c-soft); display: grid; place-items: center; }
.cert .icon img { width: 22.7px; height: 19.2px; }
.cert .txt { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.cert .year { font-family: "Inter", sans-serif; font-weight: 500; font-size: 11px; line-height: 16.5px; letter-spacing: 1.32px; text-transform: uppercase; color: var(--c-text, var(--c)); }
.cert h3 { font-family: "Inter", sans-serif; font-weight: 600; font-size: 17px; line-height: 23.375px; letter-spacing: .85px; text-transform: uppercase; color: var(--ink); }
.cert .where { font-family: "Inter", sans-serif; font-weight: 300; font-size: 14px; line-height: 22.75px; color: var(--muted); }
.cert .num { border-top: 1px solid var(--line); padding-top: 17px; font-family: "Inter", sans-serif; font-weight: 500; font-size: 11px; line-height: 16.5px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--faint); }

/* ---------- Contact ---------- */
.contact { padding-top: 64px; padding-bottom: 120px; min-height: calc(100vh - 107px); }
.contact .col { display: flex; flex-direction: column; gap: 28px; max-width: 1008px; }
.contact-list { width: 100%; max-width: 608px; padding: 46px 0; }
.contact-row { display: flex; align-items: center; gap: 24px; padding: 28px 0 29px; border-bottom: 1px solid var(--line); }
.contact-row .k { width: 128px; flex-shrink: 0; font-family: "Inter", sans-serif; font-size: 13px; line-height: 19.5px; letter-spacing: 1.82px; text-transform: uppercase; color: #99a1af; }
.contact-row a { font-family: "Roboto", sans-serif; font-weight: 300; font-size: 22px; line-height: 33px; color: var(--black); overflow-wrap: anywhere; transition: color .2s; }
.contact-row a:hover { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --page-x: 48px; }
  .h1-xl, .h1 { font-size: 64px; line-height: 62px; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --page-x: 20px; }
  .site-header { height: auto; }
  .site-header .inner { padding: 16px 20px; flex-wrap: wrap; gap: 12px; }
  .brand { gap: 16px; }
  .brand .logo { width: 32px; height: 40px; }
  .brand .name { font-size: 16px; }
  .nav { gap: 8px; width: 100%; justify-content: space-between; }
  .nav a { width: auto; font-size: 14px; }
  .dots { display: none; }
  .hero { padding-bottom: 64px; }
  .h1-xl { font-size: 48px; line-height: 50px; letter-spacing: -1px; }
  .h1 { font-size: 48px; line-height: 50px; letter-spacing: -1px; }
  .h2 { font-size: 40px; line-height: 42px; }
  .intro { font-size: 18px; line-height: 29px; }
  .intro p + p { margin-top: 24px; }
  .intro br { display: none; }
  .projects { gap: 56px; padding-top: 48px; padding-bottom: 64px; }
  .project .preview { height: 260px; }
  .pv-cafler img { width: 290px; height: 401px; transform: translate(-50%, calc(-50% + 88px)); }
  .project:hover .pv-cafler img { transform: translate(-50%, calc(-50% + 82px)); }
  .pv-wattwin img { width: 88%; height: auto; }
  .pv-volvero .stage { transform: scale(.62); transform-origin: 50% 0; }
  .project .meta { flex-direction: column; gap: 12px; }
  .cta .wrap { flex-direction: column; align-items: flex-start; gap: 32px; }
  .cta h2 { font-size: 36px; line-height: 38px; }
  .cert-grid { grid-template-columns: 1fr; }
  .contact-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .contact-row a { font-size: 18px; }
}

/* ---------- Motion (subtle) ---------- */
.site-header { transition: box-shadow .3s ease, background-color .3s ease; }
.site-header.scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.06); background: rgba(255,255,255,.72); }

/* Nav underline slides in from the centre */
.nav a {
  border-bottom: 0;
  background: linear-gradient(currentColor, currentColor) center bottom / 0 1px no-repeat;
  transition: color .2s, background-size .3s cubic-bezier(.2,.7,.2,1);
}
.nav a:hover { background-size: 100% 1px; }
.nav a[aria-current="page"] { background-size: 100% 1px; }

/* Reveal on scroll (only when JS is running) */
.js .rv:not(.in) { opacity: 0; translate: 0 18px; }
.js .rv {
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), translate .7s cubic-bezier(.2,.7,.2,1);
}
.js main img.rv:not(.in) { translate: 0 28px; }

/* Floating dots */
@keyframes dot-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.dots span { animation: dot-float 4s ease-in-out infinite; }
.dots span:nth-child(2) { animation-delay: -1.3s; }
.dots span:nth-child(3) { animation-delay: -2.6s; }

/* Cursor next to "Hi there!" does a little click */
@keyframes cursor-click {
  0%, 70%, 100% { transform: translate(0,0) scale(1); }
  78% { transform: translate(-3px,-3px) scale(1); }
  84% { transform: translate(-3px,-3px) scale(.86); }
  90% { transform: translate(-3px,-3px) scale(1); }
}
.intro-head img { animation: cursor-click 3.6s ease-in-out 1.2s infinite; transform-origin: 20% 10%; }

/* Project cards: soft lift */
.project .preview { transition: box-shadow .4s ease, translate .4s ease; }
.project:hover .preview { box-shadow: 0 14px 30px -18px rgba(37,35,37,.35); translate: 0 -3px; }

/* Contact links underline */
.contact-row a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: color .2s, background-size .35s ease; }
.contact-row a:hover { background-size: 100% 1px; }

/* Certificate cards lift */
.cert { transition: translate .3s ease, box-shadow .3s ease; }
.cert:hover { translate: 0 -4px; box-shadow: 0 10px 30px rgba(0,0,0,.09); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1 !important; translate: none !important; }
}

/* View project button: arrow + grows on hover */
.btn-view {
  gap: 0; padding: 8px 20px 8px 24px;
  transition: background .25s ease, color .25s ease, gap .3s cubic-bezier(.2,.7,.2,1), padding .3s cubic-bezier(.2,.7,.2,1), transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}
.btn-view .arr { width: 14px; margin-left: 8px; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.project:hover .btn-view, .btn-view:hover {
  background: var(--black); color: #fff;
  padding: 10px 24px 10px 28px; gap: 4px;
  transform: scale(1.06);
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.45);
}
.project:hover .btn-view .arr, .btn-view:hover .arr { transform: translateX(4px); }
.project:active .btn-view { transform: scale(1.02); }
@keyframes arr-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
.project:hover .btn-view .arr { animation: arr-nudge 1.1s ease-in-out .35s infinite; }

/* ---------- Tablet & mobile refinements ---------- */
@media (max-width: 1320px) {
  .intro br { display: none; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .cert-grid .cert:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .site-header { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, background-color .3s ease; }
  .site-header.hide { transform: translateY(-100%); }
  .nav a { padding: 10px 0; }               /* bigger tap targets */
  .btn-view { padding: 10px 20px 10px 24px; }
  .project:hover .btn-view, .btn-view:hover { transform: scale(1.03); }
  .project:hover .preview { translate: none; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .site-header .inner { padding: 24px 32px; }
  .brand { gap: 24px; }
  .brand .name { font-size: 18px; }
  .nav { gap: 20px; }
}

/* ---------- Mobile menu (burger) ---------- */
.burger { display: none; }
@media (max-width: 760px) {
  .site-header .inner { flex-wrap: nowrap; padding: 14px 16px; gap: 16px; position: relative; }
  .js .burger {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; margin-right: -8px; padding: 0; border: 0; background: none; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .burger span { display: block; width: 22px; height: 1.5px; background: var(--black); border-radius: 2px; transition: transform .35s cubic-bezier(.3,.8,.25,1), opacity .2s ease; }
  .menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .js .nav {
    position: absolute; top: 100%; left: 0; right: 0; width: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px 16px 20px; background: #fff;
    box-shadow: 0 16px 24px -16px rgba(0,0,0,.18);
    opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
    transition: opacity .25s ease, transform .3s cubic-bezier(.3,.8,.25,1), visibility 0s linear .3s;
  }
  .js .menu-open .nav { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .25s ease, transform .3s cubic-bezier(.3,.8,.25,1); }
  .js .nav a {
    width: auto; text-align: left; padding: 16px 0; font-size: 16px;
    border-bottom: 1px solid var(--line); background: none;
    opacity: 0; translate: 0 -6px; transition: opacity .3s ease, translate .3s ease, color .2s;
  }
  .js .nav a:last-child { border-bottom: 0; }
  .js .menu-open .nav a { opacity: 1; translate: none; }
  .js .menu-open .nav a:nth-child(2) { transition-delay: .05s; }
  .js .menu-open .nav a:nth-child(3) { transition-delay: .1s; }
  .js .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
  .menu-open.site-header { background: #fff; }
}

/* ---------- Home: section heading, project numbers ---------- */
.work-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.work-head h2 {
  font-weight: 900; font-size: 40px; line-height: 44px; letter-spacing: -1px; color: var(--ink);
  flex: 1; padding-bottom: 20px; border-bottom: 1px solid #e5e7eb;
  display: flex; align-items: baseline; justify-content: space-between;
}
.work-head { position: relative; }
.project h3 { display: flex; align-items: baseline; gap: 12px; }
.pnum {
  font-family: "Inter", sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 1.3px;
  color: var(--orange); transform: translateY(-2px);
}

/* ---------- Footer bottom bar ---------- */
.cta .cta-bar {
  position: relative; margin-top: 56px; padding-top: 24px;
  flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  font-family: "Inter", sans-serif; font-size: 13px; line-height: 20px; color: rgba(255,255,255,.5);
}
.cta-links { display: flex; gap: 24px; }
.cta-links a { color: rgba(255,255,255,.75); background: linear-gradient(currentColor,currentColor) left bottom / 0 1px no-repeat; transition: color .2s, background-size .3s ease; }
.cta-links a:hover { color: #fff; background-size: 100% 1px; }
@media (max-width: 760px) {
  .work-head h2 { font-size: 30px; line-height: 34px; padding-bottom: 14px; }
  .projects { padding-top: 32px; }
  .cta .cta-bar { margin-top: 40px; flex-direction: row; justify-content: space-between; }
}
.cta .cta-bar::before { content: ""; position: absolute; top: 0; left: var(--page-x); right: var(--page-x); height: 1px; background: rgba(255,255,255,.12); }

/* ---------- Lightbox ---------- */
img.zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 48px 24px;
  background: rgba(20,19,20,.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; cursor: zoom-out;
}
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.lightbox img {
  max-width: min(100%, 1600px); max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); width: auto; height: auto; object-fit: contain;
  border-radius: 8px; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.4);
  transform: scale(.96); transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.lightbox.open img { transform: none; }
.lightbox-close {
  position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 44px; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); }
.lb-lock, .lb-lock body { overflow: hidden; }
@media (max-width: 760px) { .lightbox { padding: 56px 8px 24px; } }

/* ---------- About photo ---------- */
.about-row .col { flex: 0 1 600px; min-width: 0; }
.about-photo { position: relative; flex: 0 0 360px; align-self: center; margin: 48px auto 0; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; position: relative; z-index: 1; }
.about-photo::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1.5px solid var(--orange); border-radius: 24px;
  transition: inset .5s cubic-bezier(.2,.7,.2,1);
}
.about-photo:hover::before { inset: 10px -10px -10px 10px; }
@media (max-width: 1100px) {
  .about-photo { flex-basis: 280px; }
}
@media (max-width: 860px) {
  .about-row { display: grid; grid-template-columns: 1fr; gap: 28px; }
  .about-row .col { display: contents; }
  .about-row .col > .eyebrow { order: 1; }
  .about-row .col > .h1 { order: 2; }
  .about-photo { order: 3; margin: 4px 16px 16px 0; width: min(100% - 16px, 360px); }
  .about-row .col > .lead { order: 4; }
  .about-row .dots { display: none; }
}

/* ---------- Page transitions (tab changes) ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: ease; }
::view-transition-group(site-header) { animation: none; }
@supports not (view-transition-name: none) {
  @keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
  main { animation: page-in .35s ease both; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- Nav tabs: refined ---------- */
.nav a {
  font-size: 15px; font-weight: 500; letter-spacing: .6px; color: #5f5f66;
}
.nav a:hover { color: var(--black); }
.nav a[aria-current="page"] { font-weight: 500; color: var(--black); }
@media (max-width: 760px) {
  .js .nav a { font-size: 16px; }
}
@media (min-width: 761px) {
  .nav { gap: 44px; }
  .nav a { width: auto; }
}
@media (min-width: 761px) and (max-width: 1000px) { .nav { gap: 28px; } }

/* ---------- Contact page ---------- */
body.page-contact { display: flex; flex-direction: column; min-height: 100vh; }
body.page-contact main { flex: 1; }
.page-contact .contact { min-height: 0; }
.contact-lead { max-width: 560px; font-family: "Roboto", sans-serif; font-weight: 300; font-size: 18px; line-height: 29px; color: var(--text); }
.contact-list { max-width: 640px; padding: 24px 0 0; }
.contact-row { position: relative; gap: 16px; }
.contact-row::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--blue);
  transition: width .45s cubic-bezier(.2,.7,.2,1);
}
.contact-row:hover::after { width: 100%; }
.contact-row .v { flex: 1; min-width: 0; background: none; }
.contact-row .v::after { content: ""; position: absolute; inset: 0; }   /* whole row is clickable */
.contact-row:hover .v { color: var(--blue); }
.arr-up { flex-shrink: 0; color: #99a1af; transition: transform .3s cubic-bezier(.2,.7,.2,1), color .2s; }
.contact-row:hover .arr-up { transform: translate(3px, -3px); color: var(--blue); }
.copy-btn {
  position: relative; z-index: 2; flex-shrink: 0; cursor: pointer;
  padding: 6px 14px; border: 1px solid #e5e7eb; border-radius: 999px; background: #fff;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .8px; text-transform: uppercase; color: var(--text);
  transition: border-color .2s, color .2s, background-color .2s;
}
.copy-btn:hover { border-color: var(--black); color: var(--black); }
.copy-btn.copied { background: #ecfdf3; border-color: #12b76a; color: #067647; }
.cta-slim { padding: 28px 0; }
.cta-slim .cta-bar { margin-top: 0; padding-top: 0; }
.cta-slim .cta-bar::before { display: none; }
@media (max-width: 760px) {
  .contact-list { padding-top: 8px; }
  .contact-row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 22px 0; }
  .contact-row .k { width: 100%; }
  .contact-row .v { font-size: 18px; }
  .contact-lead { font-size: 17px; line-height: 27px; }
}

/* ---------- Next project card (case studies) ---------- */
.next-project { padding-top: 64px; padding-bottom: 24px; }
.next-card {
  position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: center;
  padding: 36px 40px; border: 1px solid #e5e7eb; border-radius: 20px; background: #fff;
  transition: border-color .3s ease, box-shadow .3s ease, translate .3s ease;
}
.next-card:hover { border-color: var(--ink); box-shadow: 0 18px 40px -24px rgba(37,35,37,.35); translate: 0 -3px; }
.next-label { grid-column: 1; font-family: "Inter", sans-serif; font-weight: 500; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); }
.next-title { grid-column: 1; margin-top: 8px; font-weight: 900; font-size: 40px; line-height: 44px; letter-spacing: -1px; color: var(--ink); }
.next-desc { grid-column: 1; margin-top: 8px; font-family: "Figtree", sans-serif; font-size: 16px; line-height: 26px; color: var(--text); }
.next-arrow {
  grid-column: 2; grid-row: 1 / span 3; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background-color .3s;
}
.next-card:hover .next-arrow { transform: translateX(6px); background: var(--orange); color: var(--ink); }
@media (max-width: 760px) {
  .next-card { padding: 24px; column-gap: 16px; }
  .next-title { font-size: 30px; line-height: 34px; }
  .next-arrow { width: 48px; height: 48px; }
}
/* Next project arrow: long thin line arrow (distinct from the round back-to-top button) */
.next-arrow { width: auto; height: auto; border-radius: 0; background: none; color: var(--ink); }
.next-arrow svg { display: block; overflow: visible; }
.next-arrow .shaft { transform-origin: 61px 10px; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.next-card:hover .next-arrow { transform: translateX(8px); background: none; color: var(--orange); }
.next-card:hover .next-arrow .shaft { transform: scaleX(1.25); }
@media (max-width: 760px) { .next-arrow svg { width: 44px; height: 14px; } }
/* Next project v2: text + button on the left, project thumbnail on the right */
.next-card { grid-template-columns: 1fr minmax(0, 460px); column-gap: 48px; padding: 0 0 0 40px; overflow: hidden; }
.next-card > .next-label { align-self: end; padding-top: 40px; }
.next-btn { grid-column: 1; justify-self: start; align-self: start; margin: 24px 0 40px; }
.next-thumb {
  grid-column: 2; grid-row: 1 / span 4; align-self: stretch; min-height: 240px;
  display: grid; place-items: center; background: #f2f4fd; border-left: 1px solid #e8ecff; overflow: hidden;
}
.next-thumb img { width: 86%; height: auto; filter: drop-shadow(0 9px 14px rgba(0,0,0,.1)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.next-card:hover .next-thumb img { transform: scale(1.04) translateY(-4px); }
.next-card:hover .btn-view {
  background: var(--black); color: #fff; padding: 10px 24px 10px 28px; transform: scale(1.06);
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.45);
}
.next-card:hover .btn-view .arr { animation: arr-nudge 1.1s ease-in-out .35s infinite; }
@media (max-width: 760px) {
  .next-card { grid-template-columns: 1fr; padding: 0; }
  .next-thumb { grid-column: 1; grid-row: 1; min-height: 180px; border-left: 0; border-bottom: 1px solid #e8ecff; }
  .next-card > .next-label { padding: 24px 24px 0; }
  .next-title, .next-desc { padding: 0 24px; }
  .next-btn { margin: 20px 24px 24px; }
}
.next-thumb { padding: 28px 32px; }
.next-thumb img { width: 100%; max-width: 360px; }
@media (max-width: 760px) { .next-thumb { padding: 20px 24px; } .next-thumb img { max-width: 300px; } }

/* ---------- Case study hero (shared) ---------- */
.case-hero { background: var(--hero-bg); overflow: hidden; }
.case-hero-inner { display: flex; align-items: flex-end; gap: 48px; padding-top: 72px; }
.case-hero-text { flex: 1 1 0; min-width: 0; max-width: 640px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 24px; }
.case-logo { display: block; height: 48px; width: auto; margin: 0 0 20px -12px; }   /* -12px offsets the PNG's transparent padding */
.case-logo--wattwin { display: flex; align-items: center; gap: 10px; height: 48px; margin-left: 0; font-family: "Geist", sans-serif; font-weight: 700; font-size: 17px; color: #0e0a3d; }
.case-logo--wattwin img { width: 42px; height: 25px; }
.case-hero h1 { font-family: "Geist", sans-serif; font-weight: 700; font-size: 42px; line-height: 46px; letter-spacing: -.4px; color: #000; }
.case-sub { font-family: "Poppins", sans-serif; font-size: 16px; line-height: 26px; color: #1f1f24; max-width: 580px; }
.case-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin-top: 16px; max-width: 520px; font-family: "Poppins", sans-serif; font-weight: 500; }
.case-meta dt { font-size: 14px; line-height: 22px; color: #7a7a80; }
.case-meta dd { font-size: 16px; line-height: 26px; color: #000; }
.case-hero-media { flex: 0 0 auto; }
.case-hero-media img { display: block; width: 100%; height: auto; }
.case-hero-media--bleed { width: 456px; margin-right: -64px; }          /* hands run off the edge, like the original */
.case-hero-media--center { width: 560px; align-self: center; padding-bottom: 0; filter: drop-shadow(0 18px 30px rgba(40,20,90,.15)); }
@media (max-width: 1100px) {
  .case-hero h1 { font-size: 36px; line-height: 40px; }
  .case-hero-media--bleed { width: 340px; margin-right: -48px; }
  .case-hero-media--center { width: 400px; }
}
@media (max-width: 860px) {
  .case-hero-inner { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 48px; }
  .case-hero-text { max-width: none; padding-bottom: 16px; }
  .case-hero-media--bleed { width: min(100%, 380px); align-self: flex-end; margin-right: -20px; }
  .case-hero-media--center { width: min(100%, 520px); align-self: center; padding-bottom: 40px; }
}
@media (max-width: 760px) {
  .case-hero h1 { font-size: 30px; line-height: 34px; }
  .case-logo { height: 40px; margin-bottom: 8px; }
  .case-meta { gap: 14px 20px; }
}
.case-logo { align-self: flex-start; }
.case-hero-media--bleed { margin-right: calc(-1 * var(--page-x) - max(0px, (100vw - 1440px) / 2)); }
@media (max-width: 860px) { .case-hero-media--bleed { margin-right: calc(-1 * var(--page-x)); } }
.case-hero-media { margin-left: auto; }

/* ---------- Sticky section index (long case studies) ---------- */
[data-nav] { scroll-margin-top: 170px; }
.case-nav {
  position: fixed; z-index: 40; top: 115px; left: 50%; max-width: calc(100% - 32px);
  transform: translate(-50%, -8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.7,.2,1), top .35s cubic-bezier(.2,.7,.2,1), visibility 0s linear .3s;
}
.case-nav.show { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition: opacity .3s ease, transform .3s cubic-bezier(.2,.7,.2,1), top .35s cubic-bezier(.2,.7,.2,1); }
.case-nav-inner {
  display: flex; gap: 2px; padding: 5px; overflow-x: auto; scrollbar-width: none;
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0,0,0,.07); border-radius: 999px; box-shadow: 0 8px 24px -12px rgba(0,0,0,.22);
}
.case-nav-inner::-webkit-scrollbar { display: none; }
.case-nav a {
  flex-shrink: 0; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .9px; text-transform: uppercase; color: #6b6b72;
  transition: background-color .25s ease, color .25s ease;
}
.case-nav a:hover { color: var(--black); }
.case-nav a.active { background: var(--ink); color: #fff; }
@media (max-width: 760px) {
  [data-nav] { scroll-margin-top: 130px; }
  .case-nav { top: 76px; width: calc(100% - 24px); }
  .case-nav.up { top: 10px; }
  .case-nav a { padding: 8px 12px; }
}

/* ---------- Footer CTA: tighter ---------- */
.cta { padding: 44px 0 24px; }
.cta h2 { font-size: 38px; line-height: 40px; }
.cta .mini-dots { margin-bottom: 10px; }
.cta .cta-bar { margin-top: 36px; padding-top: 20px; }
.cta-slim { padding: 20px 0; }
.cta-slim .cta-bar { margin-top: 0; padding-top: 0; }
@media (max-width: 760px) {
  .cta { padding: 36px 0 20px; }
  .cta .wrap { gap: 24px; }
  .cta h2 { font-size: 32px; line-height: 34px; }
  .cta .cta-bar { margin-top: 28px; }
}

/* ---------- Project switcher (top of each case study) ---------- */
#work { scroll-margin-top: 110px; }
.case-switch { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; padding-bottom: 14px; font-family: "Inter", sans-serif; font-size: 12px; line-height: 18px; letter-spacing: .3px; }
.case-switch a { display: inline-flex; align-items: center; gap: 6px; color: #9a9aa0; text-decoration: none; transition: color .2s ease; }
.case-switch a:hover { color: #000; }
.case-switch svg { width: 13px; height: 13px; transition: transform .2s ease; }
.cs-back:hover svg { transform: translateX(-3px); }
.cs-next:hover svg { transform: translateX(3px); }

/* ---------- Same hero layout on every case (text never moves when switching) ---------- */
.case-hero .case-logo { height: 48px; margin-bottom: 20px; }
@media (min-width: 861px) {
  .case-hero-inner { min-height: 620px; }
  .case-hero-text { align-self: flex-start; }
}

/* =========================================================
   Case studies — one heading scale for all four projects
   ========================================================= */
.cf-h2, .ww-h2, .ww-h3,
.ap-phase-title, .ap-watch-title, .ap-final-wrap .ap-phase-title, .ap-phase-define .ap-phase-title, .ap-process-head h2,
.vv-stage-title, .vv-feature-title, .vv-h32, .vv h2 {
  font-family: "Geist", sans-serif !important; font-weight: 600 !important;
  font-size: 36px !important; line-height: 44px !important; letter-spacing: -.3px !important;
}
@media (max-width: 1100px) {
  .cf-h2, .ww-h2, .ww-h3, .ap-phase-title, .ap-watch-title, .ap-final-wrap .ap-phase-title, .ap-phase-define .ap-phase-title, .ap-process-head h2,
  .vv-stage-title, .vv-feature-title, .vv-h32, .vv h2 { font-size: 32px !important; line-height: 40px !important; }
}
@media (max-width: 760px) {
  .cf-h2, .ww-h2, .ww-h3, .ap-phase-title, .ap-watch-title, .ap-final-wrap .ap-phase-title, .ap-phase-define .ap-phase-title, .ap-process-head h2,
  .vv-stage-title, .vv-feature-title, .vv-h32, .vv h2 { font-size: 28px !important; line-height: 36px !important; }
}
.case-hero h1 { font-weight: 700; }
.ap-end--top, .vv-end--top { padding-top: 8px !important; }

/* Next-project card: identical on every case (page fonts must not leak in) */
.next-card .next-title { font-family: "Raleway", sans-serif !important; font-weight: 900 !important; font-size: 40px !important; line-height: 44px !important; letter-spacing: -1px !important; }
.next-card .next-desc { font-family: "Figtree", sans-serif !important; font-weight: 400 !important; font-size: 16px !important; line-height: 26px !important; }
.next-card .next-label { font-family: "Inter", sans-serif !important; font-weight: 500 !important; font-size: 11px !important; }
.next-card .next-btn { font-family: "Inter", sans-serif !important; }
.next-thumb img { width: auto !important; max-width: 100% !important; max-height: 200px; object-fit: contain; }
@media (max-width: 760px) { .next-card .next-title { font-size: 30px !important; line-height: 34px !important; } .next-thumb img { max-height: 170px; } }
/* thumbnail that fills the whole right side (cropped) */
.next-thumb--cover { padding: 0 !important; position: relative; overflow: hidden; }
.next-thumb--cover img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none; object-fit: cover; object-position: center; filter: none; }
@media (max-width: 760px) { .next-thumb--cover { min-height: 200px; } }

/* =========================================================
   Hero "WOW" test (Cafler + Wattwin): own colour, product
   pattern, entrance + light parallax on the device
   ========================================================= */
.case-hero--fx { position: relative; isolation: isolate; }
.case-hero--fx::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 35%, #000 70%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 35%, #000 70%);
}
/* Cafler: catalogue grid */
.case-hero--cafler::before {
  background-image:
    linear-gradient(rgba(23,128,84,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,128,84,.10) 1px, transparent 1px);
  background-size: 44px 44px; background-position: -1px -1px;
}
/* Wattwin: trigger → condition → action nodes */
.case-hero--wattwin::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='180' viewBox='0 0 280 180'%3E%3Cg fill='none' stroke='%235b4fc7' stroke-opacity='.10' stroke-width='1.2'%3E%3Ccircle cx='30' cy='40' r='9'/%3E%3Cpath d='M39 40h52'/%3E%3Cpath d='M101 30l10 10-10 10-10-10z'/%3E%3Cpath d='M111 40h44'/%3E%3Crect x='155' y='26' width='54' height='28' rx='4'/%3E%3Cpath d='M101 50v70h54'/%3E%3Crect x='155' y='106' width='54' height='28' rx='4'/%3E%3Cpath d='M209 40h40'/%3E%3Ccircle cx='258' cy='40' r='9' stroke-width='2.4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 280px 180px;
}
/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .case-hero--fx .case-hero-media { animation: hero-in .9s cubic-bezier(.2,.7,.2,1) .15s both; }
  .case-hero--fx::before { animation: hero-pattern-in 1.4s ease-out both; }
}
@keyframes hero-in { from { opacity: 0; transform: translateY(36px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes hero-pattern-in { from { opacity: 0; } to { opacity: 1; } }
.case-hero--fx .case-hero-media img { will-change: transform; }
.case-hero--fx::before {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, rgba(0,0,0,.6) 58%, #000 80%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, rgba(0,0,0,.6) 58%, #000 80%);
}
@media (max-width: 860px) {
  .case-hero--fx::before { -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 45%, #000 85%); mask-image: linear-gradient(180deg, transparent 0%, transparent 45%, #000 85%); }
}
/* Apptiv: activity rings */
.case-hero--apptiv::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23c99300' stroke-opacity='.10' stroke-width='6' stroke-linecap='round'%3E%3Cpath d='M55 20a35 35 0 1 1-34.6 40'/%3E%3Cpath d='M55 34a21 21 0 1 1-20.7 24' stroke-width='5'/%3E%3Cpath d='M165 130a32 32 0 1 1-30 21'/%3E%3Cpath d='M165 143a19 19 0 1 1 18.2 13.6' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 220px 220px;
}
/* Volvero: the brand's rings */
.case-hero--volvero::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='260' viewBox='0 0 300 260'%3E%3Cg fill='none' stroke='%23027ffe' stroke-opacity='.08'%3E%3Ccircle cx='70' cy='70' r='42' stroke-width='14'/%3E%3Ccircle cx='230' cy='190' r='30' stroke-width='11'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 300px 260px;
}
/* Apptiv (wellness): soft flowing lines instead of rings */
.case-hero--apptiv::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='240' viewBox='0 0 480 240'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M0 60c60-36 120-36 180 0s120 36 180 0 90-30 120-12' stroke='%23e0a400' stroke-opacity='.18' stroke-width='2'/%3E%3Cpath d='M0 90c60-36 120-36 180 0s120 36 180 0 90-30 120-12' stroke='%23e0a400' stroke-opacity='.12' stroke-width='2'/%3E%3Cpath d='M0 180c70 30 130 30 200 0s130-30 200 0 60 20 80 12' stroke='%23a3c21a' stroke-opacity='.18' stroke-width='2'/%3E%3Cpath d='M0 210c70 30 130 30 200 0s130-30 200 0 60 20 80 12' stroke='%23a3c21a' stroke-opacity='.12' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E") !important;
  background-size: 480px 240px !important;
}
.case-hero-media--combo { width: 480px !important; margin-right: -20px !important; padding: 0 !important; filter: none !important; align-self: center; }
.case-hero-media--combo img { clip-path: none !important; border-radius: 0 !important; }
@media (max-width: 1100px) { .case-hero-media--combo { width: 360px !important; } }
@media (max-width: 860px) { .case-hero-media--combo { width: min(100%, 320px) !important; margin: 8px auto 24px !important; } }

/* Apptiv (wellness): continuous, interlaced waves — one drawing, no tiling */
.case-hero--apptiv::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 720' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M0.0 250.0 L10.0 259.6 L20.0 269.0 L30.0 278.2 L40.0 287.0 L50.0 295.3 L60.0 303.0 L70.0 310.0 L80.0 316.2 L90.0 321.6 L100.0 326.0 L110.0 329.5 L120.0 332.0 L130.0 333.5 L140.0 334.1 L150.0 333.8 L160.0 332.6 L170.0 330.6 L180.0 327.8 L190.0 324.3 L200.0 320.3 L210.0 315.8 L220.0 310.8 L230.0 305.6 L240.0 300.2 L250.0 294.7 L260.0 289.2 L270.0 283.7 L280.0 278.4 L290.0 273.3 L300.0 268.5 L310.0 264.0 L320.0 259.8 L330.0 255.9 L340.0 252.4 L350.0 249.2 L360.0 246.4 L370.0 243.8 L380.0 241.5 L390.0 239.4 L400.0 237.4 L410.0 235.6 L420.0 233.8 L430.0 232.0 L440.0 230.1 L450.0 228.2 L460.0 226.1 L470.0 223.8 L480.0 221.4 L490.0 218.7 L500.0 215.9 L510.0 212.8 L520.0 209.6 L530.0 206.2 L540.0 202.8 L550.0 199.3 L560.0 195.8 L570.0 192.5 L580.0 189.3 L590.0 186.3 L600.0 183.7 L610.0 181.6 L620.0 179.9 L630.0 178.8 L640.0 178.4 L650.0 178.7 L660.0 179.8 L670.0 181.6 L680.0 184.3 L690.0 187.9 L700.0 192.3 L710.0 197.5 L720.0 203.4 L730.0 210.2 L740.0 217.6 L750.0 225.5 L760.0 234.0 L770.0 242.9 L780.0 252.0 L790.0 261.3 L800.0 270.6 L810.0 279.8 L820.0 288.8 L830.0 297.4 L840.0 305.5 L850.0 313.1 L860.0 319.9 L870.0 325.9 L880.0 331.1 L890.0 335.3 L900.0 338.5 L910.0 340.7 L920.0 341.8 L930.0 341.9 L940.0 341.0 L950.0 339.0 L960.0 336.2 L970.0 332.4 L980.0 327.9 L990.0 322.6 L1000.0 316.8 L1010.0 310.4 L1020.0 303.7 L1030.0 296.6 L1040.0 289.4 L1050.0 282.2 L1060.0 275.0 L1070.0 267.9 L1080.0 261.1 L1090.0 254.5 L1100.0 248.4 L1110.0 242.7 L1120.0 237.5 L1130.0 232.7 L1140.0 228.5 L1150.0 224.9 L1160.0 221.7 L1170.0 219.0 L1180.0 216.8 L1190.0 214.9 L1200.0 213.5 L1210.0 212.3 L1220.0 211.4 L1230.0 210.7 L1240.0 210.1 L1250.0 209.6 L1260.0 209.1 L1270.0 208.5 L1280.0 207.9 L1290.0 207.2 L1300.0 206.4 L1310.0 205.5 L1320.0 204.4 L1330.0 203.2 L1340.0 201.9 L1350.0 200.6 L1360.0 199.3 L1370.0 198.0 L1380.0 196.9 L1390.0 195.9 L1400.0 195.1 L1410.0 194.7 L1420.0 194.6 L1430.0 195.0 L1440.0 195.9 L1450.0 197.3 L1460.0 199.4 L1470.0 202.1 L1480.0 205.5 L1490.0 209.6 L1500.0 214.3 L1510.0 219.7 L1520.0 225.8 L1530.0 232.4 L1540.0 239.6 L1550.0 247.2 L1560.0 255.2 L1570.0 263.4 L1580.0 271.9 L1590.0 280.3 L1600.0 288.7' stroke='%23e0a400' stroke-opacity='0.32' stroke-width='2'/%3E%3Cpath d='M0.0 340.2 L10.0 333.8 L20.0 327.3 L30.0 320.8 L40.0 314.4 L50.0 308.2 L60.0 302.3 L70.0 296.8 L80.0 291.6 L90.0 286.9 L100.0 282.5 L110.0 278.6 L120.0 275.2 L130.0 272.2 L140.0 269.5 L150.0 267.3 L160.0 265.3 L170.0 263.6 L180.0 262.1 L190.0 260.7 L200.0 259.5 L210.0 258.3 L220.0 257.0 L230.0 255.8 L240.0 254.4 L250.0 252.9 L260.0 251.2 L270.0 249.4 L280.0 247.5 L290.0 245.4 L300.0 243.2 L310.0 241.0 L320.0 238.7 L330.0 236.4 L340.0 234.2 L350.0 232.2 L360.0 230.4 L370.0 228.9 L380.0 227.8 L390.0 227.1 L400.0 227.0 L410.0 227.5 L420.0 228.6 L430.0 230.4 L440.0 232.9 L450.0 236.2 L460.0 240.3 L470.0 245.1 L480.0 250.6 L490.0 256.9 L500.0 263.7 L510.0 271.2 L520.0 279.1 L530.0 287.5 L540.0 296.1 L550.0 305.0 L560.0 313.9 L570.0 322.8 L580.0 331.5 L590.0 339.8 L600.0 347.8 L610.0 355.2 L620.0 361.9 L630.0 367.9 L640.0 373.1 L650.0 377.3 L660.0 380.5 L670.0 382.7 L680.0 383.9 L690.0 383.9 L700.0 383.0 L710.0 380.9 L720.0 377.9 L730.0 374.0 L740.0 369.1 L750.0 363.5 L760.0 357.3 L770.0 350.4 L780.0 343.1 L790.0 335.4 L800.0 327.5 L810.0 319.5 L820.0 311.4 L830.0 303.5 L840.0 295.8 L850.0 288.5 L860.0 281.5 L870.0 275.0 L880.0 269.0 L890.0 263.5 L900.0 258.7 L910.0 254.5 L920.0 251.0 L930.0 248.0 L940.0 245.6 L950.0 243.8 L960.0 242.4 L970.0 241.6 L980.0 241.1 L990.0 240.9 L1000.0 241.1 L1010.0 241.4 L1020.0 241.8 L1030.0 242.4 L1040.0 242.9 L1050.0 243.4 L1060.0 243.9 L1070.0 244.3 L1080.0 244.5 L1090.0 244.7 L1100.0 244.7 L1110.0 244.7 L1120.0 244.5 L1130.0 244.3 L1140.0 244.2 L1150.0 244.1 L1160.0 244.1 L1170.0 244.3 L1180.0 244.7 L1190.0 245.4 L1200.0 246.5 L1210.0 248.0 L1220.0 250.0 L1230.0 252.5 L1240.0 255.6 L1250.0 259.2 L1260.0 263.4 L1270.0 268.2 L1280.0 273.6 L1290.0 279.5 L1300.0 285.9 L1310.0 292.8 L1320.0 300.0 L1330.0 307.5 L1340.0 315.2 L1350.0 323.0 L1360.0 330.7 L1370.0 338.4 L1380.0 345.7 L1390.0 352.8 L1400.0 359.3 L1410.0 365.2 L1420.0 370.5 L1430.0 375.0 L1440.0 378.6 L1450.0 381.2 L1460.0 382.9 L1470.0 383.5 L1480.0 383.1 L1490.0 381.6 L1500.0 379.1 L1510.0 375.5 L1520.0 371.0 L1530.0 365.5 L1540.0 359.2 L1550.0 352.2 L1560.0 344.5 L1570.0 336.3 L1580.0 327.7 L1590.0 318.9 L1600.0 309.8' stroke='%23e0a400' stroke-opacity='0.22' stroke-width='2'/%3E%3Cpath d='M0.0 287.5 L10.0 287.1 L20.0 286.7 L30.0 286.2 L40.0 285.6 L50.0 284.8 L60.0 283.9 L70.0 282.9 L80.0 281.9 L90.0 280.8 L100.0 279.7 L110.0 278.6 L120.0 277.7 L130.0 277.0 L140.0 276.5 L150.0 276.4 L160.0 276.6 L170.0 277.3 L180.0 278.5 L190.0 280.3 L200.0 282.7 L210.0 285.7 L220.0 289.4 L230.0 293.7 L240.0 298.7 L250.0 304.4 L260.0 310.6 L270.0 317.4 L280.0 324.7 L290.0 332.4 L300.0 340.4 L310.0 348.7 L320.0 357.0 L330.0 365.3 L340.0 373.6 L350.0 381.5 L360.0 389.1 L370.0 396.3 L380.0 402.8 L390.0 408.6 L400.0 413.6 L410.0 417.8 L420.0 421.0 L430.0 423.1 L440.0 424.3 L450.0 424.3 L460.0 423.3 L470.0 421.3 L480.0 418.2 L490.0 414.1 L500.0 409.1 L510.0 403.3 L520.0 396.7 L530.0 389.5 L540.0 381.8 L550.0 373.6 L560.0 365.2 L570.0 356.5 L580.0 347.9 L590.0 339.3 L600.0 330.9 L610.0 322.8 L620.0 315.0 L630.0 307.8 L640.0 301.2 L650.0 295.1 L660.0 289.7 L670.0 285.0 L680.0 281.1 L690.0 277.8 L700.0 275.3 L710.0 273.4 L720.0 272.2 L730.0 271.5 L740.0 271.4 L750.0 271.8 L760.0 272.5 L770.0 273.6 L780.0 275.0 L790.0 276.5 L800.0 278.2 L810.0 279.9 L820.0 281.6 L830.0 283.3 L840.0 284.9 L850.0 286.4 L860.0 287.7 L870.0 288.9 L880.0 290.0 L890.0 291.0 L900.0 291.8 L910.0 292.7 L920.0 293.5 L930.0 294.4 L940.0 295.3 L950.0 296.5 L960.0 297.8 L970.0 299.4 L980.0 301.4 L990.0 303.7 L1000.0 306.4 L1010.0 309.6 L1020.0 313.3 L1030.0 317.4 L1040.0 322.1 L1050.0 327.2 L1060.0 332.7 L1070.0 338.7 L1080.0 345.0 L1090.0 351.6 L1100.0 358.4 L1110.0 365.3 L1120.0 372.3 L1130.0 379.2 L1140.0 385.9 L1150.0 392.3 L1160.0 398.3 L1170.0 403.8 L1180.0 408.7 L1190.0 412.9 L1200.0 416.3 L1210.0 418.8 L1220.0 420.3 L1230.0 420.9 L1240.0 420.5 L1250.0 419.0 L1260.0 416.5 L1270.0 413.0 L1280.0 408.5 L1290.0 403.0 L1300.0 396.7 L1310.0 389.7 L1320.0 381.9 L1330.0 373.6 L1340.0 364.8 L1350.0 355.7 L1360.0 346.3 L1370.0 336.9 L1380.0 327.6 L1390.0 318.4 L1400.0 309.5 L1410.0 301.0 L1420.0 293.1 L1430.0 285.8 L1440.0 279.2 L1450.0 273.3 L1460.0 268.2 L1470.0 264.0 L1480.0 260.7 L1490.0 258.2 L1500.0 256.6 L1510.0 255.8 L1520.0 255.9 L1530.0 256.6 L1540.0 258.0 L1550.0 260.0 L1560.0 262.6 L1570.0 265.5 L1580.0 268.9 L1590.0 272.5 L1600.0 276.2' stroke='%23e0a400' stroke-opacity='0.15' stroke-width='2'/%3E%3Cpath d='M0.0 525.1 L10.0 527.2 L20.0 528.5 L30.0 529.1 L40.0 528.8 L50.0 527.8 L60.0 526.1 L70.0 523.6 L80.0 520.6 L90.0 517.0 L100.0 512.8 L110.0 508.2 L120.0 503.3 L130.0 498.0 L140.0 492.5 L150.0 486.8 L160.0 481.1 L170.0 475.3 L180.0 469.5 L190.0 463.8 L200.0 458.2 L210.0 452.9 L220.0 447.7 L230.0 442.9 L240.0 438.3 L250.0 434.0 L260.0 430.0 L270.0 426.4 L280.0 423.0 L290.0 420.0 L300.0 417.2 L310.0 414.8 L320.0 412.5 L330.0 410.5 L340.0 408.7 L350.0 407.0 L360.0 405.4 L370.0 403.8 L380.0 402.3 L390.0 400.8 L400.0 399.3 L410.0 397.6 L420.0 395.9 L430.0 394.1 L440.0 392.1 L450.0 390.0 L460.0 387.7 L470.0 385.3 L480.0 382.8 L490.0 380.1 L500.0 377.4 L510.0 374.6 L520.0 371.8 L530.0 369.0 L540.0 366.2 L550.0 363.6 L560.0 361.1 L570.0 358.9 L580.0 356.9 L590.0 355.2 L600.0 353.9 L610.0 353.1 L620.0 352.7 L630.0 352.9 L640.0 353.6 L650.0 354.9 L660.0 356.9 L670.0 359.5 L680.0 362.7 L690.0 366.6 L700.0 371.2 L710.0 376.4 L720.0 382.2 L730.0 388.6 L740.0 395.5 L750.0 402.9 L760.0 410.7 L770.0 418.8 L780.0 427.3 L790.0 436.0 L800.0 444.8 L810.0 453.6 L820.0 462.4 L830.0 471.0 L840.0 479.4 L850.0 487.5 L860.0 495.3 L870.0 502.5 L880.0 509.2 L890.0 515.3 L900.0 520.7 L910.0 525.4 L920.0 529.3 L930.0 532.3 L940.0 534.6 L950.0 536.0 L960.0 536.5 L970.0 536.1 L980.0 534.9 L990.0 532.9 L1000.0 530.1 L1010.0 526.6 L1020.0 522.3 L1030.0 517.4 L1040.0 512.0 L1050.0 506.0 L1060.0 499.6 L1070.0 492.9 L1080.0 485.9 L1090.0 478.6 L1100.0 471.3 L1110.0 463.9 L1120.0 456.6 L1130.0 449.3 L1140.0 442.3 L1150.0 435.4 L1160.0 428.9 L1170.0 422.7 L1180.0 416.9 L1190.0 411.5 L1200.0 406.5 L1210.0 402.0 L1220.0 397.9 L1230.0 394.3 L1240.0 391.2 L1250.0 388.5 L1260.0 386.3 L1270.0 384.4 L1280.0 382.9 L1290.0 381.7 L1300.0 380.8 L1310.0 380.2 L1320.0 379.7 L1330.0 379.5 L1340.0 379.3 L1350.0 379.2 L1360.0 379.2 L1370.0 379.2 L1380.0 379.1 L1390.0 379.0 L1400.0 378.9 L1410.0 378.6 L1420.0 378.3 L1430.0 377.8 L1440.0 377.3 L1450.0 376.7 L1460.0 376.0 L1470.0 375.2 L1480.0 374.5 L1490.0 373.8 L1500.0 373.1 L1510.0 372.6 L1520.0 372.2 L1530.0 371.9 L1540.0 371.9 L1550.0 372.2 L1560.0 372.8 L1570.0 373.8 L1580.0 375.2 L1590.0 377.0 L1600.0 379.3' stroke='%239fbf17' stroke-opacity='0.32' stroke-width='2'/%3E%3Cpath d='M0.0 449.6 L10.0 446.1 L20.0 443.1 L30.0 440.4 L40.0 438.1 L50.0 436.1 L60.0 434.3 L70.0 432.9 L80.0 431.6 L90.0 430.5 L100.0 429.6 L110.0 428.7 L120.0 427.9 L130.0 427.1 L140.0 426.3 L150.0 425.4 L160.0 424.5 L170.0 423.5 L180.0 422.4 L190.0 421.2 L200.0 419.8 L210.0 418.4 L220.0 416.9 L230.0 415.3 L240.0 413.6 L250.0 412.0 L260.0 410.3 L270.0 408.7 L280.0 407.2 L290.0 405.9 L300.0 404.8 L310.0 403.9 L320.0 403.3 L330.0 403.0 L340.0 403.2 L350.0 403.8 L360.0 404.8 L370.0 406.4 L380.0 408.5 L390.0 411.2 L400.0 414.4 L410.0 418.2 L420.0 422.6 L430.0 427.6 L440.0 433.2 L450.0 439.2 L460.0 445.8 L470.0 452.8 L480.0 460.2 L490.0 467.9 L500.0 476.0 L510.0 484.2 L520.0 492.5 L530.0 500.9 L540.0 509.2 L550.0 517.4 L560.0 525.4 L570.0 533.1 L580.0 540.4 L590.0 547.2 L600.0 553.5 L610.0 559.2 L620.0 564.3 L630.0 568.6 L640.0 572.1 L650.0 574.8 L660.0 576.7 L670.0 577.7 L680.0 577.9 L690.0 577.2 L700.0 575.6 L710.0 573.1 L720.0 569.9 L730.0 565.9 L740.0 561.1 L750.0 555.7 L760.0 549.7 L770.0 543.2 L780.0 536.2 L790.0 528.8 L800.0 521.1 L810.0 513.2 L820.0 505.2 L830.0 497.2 L840.0 489.1 L850.0 481.2 L860.0 473.5 L870.0 466.0 L880.0 458.8 L890.0 452.0 L900.0 445.7 L910.0 439.7 L920.0 434.3 L930.0 429.4 L940.0 425.1 L950.0 421.3 L960.0 418.0 L970.0 415.3 L980.0 413.1 L990.0 411.3 L1000.0 410.1 L1010.0 409.3 L1020.0 408.8 L1030.0 408.7 L1040.0 408.9 L1050.0 409.4 L1060.0 410.1 L1070.0 410.9 L1080.0 411.9 L1090.0 412.9 L1100.0 414.0 L1110.0 415.0 L1120.0 416.1 L1130.0 417.0 L1140.0 417.9 L1150.0 418.7 L1160.0 419.4 L1170.0 420.0 L1180.0 420.5 L1190.0 420.9 L1200.0 421.3 L1210.0 421.6 L1220.0 421.9 L1230.0 422.3 L1240.0 422.7 L1250.0 423.2 L1260.0 423.8 L1270.0 424.6 L1280.0 425.6 L1290.0 427.0 L1300.0 428.6 L1310.0 430.5 L1320.0 432.8 L1330.0 435.5 L1340.0 438.7 L1350.0 442.2 L1360.0 446.2 L1370.0 450.7 L1380.0 455.5 L1390.0 460.8 L1400.0 466.5 L1410.0 472.6 L1420.0 478.9 L1430.0 485.6 L1440.0 492.5 L1450.0 499.5 L1460.0 506.6 L1470.0 513.8 L1480.0 520.9 L1490.0 527.9 L1500.0 534.6 L1510.0 541.2 L1520.0 547.3 L1530.0 553.0 L1540.0 558.2 L1550.0 562.9 L1560.0 566.9 L1570.0 570.2 L1580.0 572.8 L1590.0 574.6 L1600.0 575.5' stroke='%239fbf17' stroke-opacity='0.22' stroke-width='2'/%3E%3Cpath d='M0.0 454.8 L10.0 454.4 L20.0 454.1 L30.0 453.9 L40.0 454.0 L50.0 454.3 L60.0 455.0 L70.0 455.9 L80.0 457.3 L90.0 459.0 L100.0 461.2 L110.0 463.9 L120.0 467.1 L130.0 470.7 L140.0 474.9 L150.0 479.6 L160.0 484.7 L170.0 490.4 L180.0 496.5 L190.0 502.9 L200.0 509.8 L210.0 516.9 L220.0 524.4 L230.0 532.0 L240.0 539.7 L250.0 547.4 L260.0 555.1 L270.0 562.8 L280.0 570.2 L290.0 577.3 L300.0 584.1 L310.0 590.4 L320.0 596.2 L330.0 601.4 L340.0 606.0 L350.0 609.9 L360.0 613.0 L370.0 615.3 L380.0 616.8 L390.0 617.5 L400.0 617.2 L410.0 616.1 L420.0 614.2 L430.0 611.3 L440.0 607.7 L450.0 603.3 L460.0 598.1 L470.0 592.3 L480.0 585.9 L490.0 578.9 L500.0 571.4 L510.0 563.5 L520.0 555.3 L530.0 546.9 L540.0 538.4 L550.0 529.7 L560.0 521.2 L570.0 512.7 L580.0 504.4 L590.0 496.5 L600.0 488.8 L610.0 481.5 L620.0 474.8 L630.0 468.5 L640.0 462.7 L650.0 457.6 L660.0 453.0 L670.0 449.1 L680.0 445.8 L690.0 443.0 L700.0 440.9 L710.0 439.4 L720.0 438.5 L730.0 438.0 L740.0 438.1 L750.0 438.6 L760.0 439.4 L770.0 440.7 L780.0 442.2 L790.0 443.9 L800.0 445.9 L810.0 448.0 L820.0 450.1 L830.0 452.3 L840.0 454.5 L850.0 456.7 L860.0 458.8 L870.0 460.9 L880.0 462.8 L890.0 464.6 L900.0 466.3 L910.0 467.8 L920.0 469.3 L930.0 470.6 L940.0 471.9 L950.0 473.1 L960.0 474.2 L970.0 475.4 L980.0 476.6 L990.0 477.9 L1000.0 479.4 L1010.0 480.9 L1020.0 482.7 L1030.0 484.7 L1040.0 487.0 L1050.0 489.5 L1060.0 492.4 L1070.0 495.6 L1080.0 499.2 L1090.0 503.1 L1100.0 507.4 L1110.0 512.0 L1120.0 517.0 L1130.0 522.3 L1140.0 527.9 L1150.0 533.7 L1160.0 539.7 L1170.0 545.9 L1180.0 552.2 L1190.0 558.5 L1200.0 564.7 L1210.0 570.9 L1220.0 576.9 L1230.0 582.6 L1240.0 588.0 L1250.0 593.0 L1260.0 597.6 L1270.0 601.6 L1280.0 605.1 L1290.0 607.8 L1300.0 609.9 L1310.0 611.3 L1320.0 611.8 L1330.0 611.6 L1340.0 610.5 L1350.0 608.6 L1360.0 605.9 L1370.0 602.3 L1380.0 598.0 L1390.0 592.9 L1400.0 587.1 L1410.0 580.6 L1420.0 573.5 L1430.0 565.8 L1440.0 557.7 L1450.0 549.2 L1460.0 540.4 L1470.0 531.4 L1480.0 522.3 L1490.0 513.1 L1500.0 504.0 L1510.0 495.0 L1520.0 486.2 L1530.0 477.7 L1540.0 469.7 L1550.0 462.1 L1560.0 455.0 L1570.0 448.5 L1580.0 442.6 L1590.0 437.4 L1600.0 432.9' stroke='%239fbf17' stroke-opacity='0.15' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E") !important;
  background-size: cover !important; background-repeat: no-repeat !important; background-position: center !important;
}
/* hero meta: each value on one line on desktop */
@media (min-width: 1200px) {
  .case-meta { max-width: 660px; grid-template-columns: auto auto; justify-content: start; column-gap: 56px; }
  .case-meta dd { white-space: nowrap; }
}

/* =========================================================
   Home: project cards share each case's hero colour + pattern,
   come alive on hover, and the intro plays once per visit
   ========================================================= */
.pv-cafler { background: #e5f6ee !important; border-color: transparent !important; }
.pv-cafler::before { background-image: linear-gradient(rgba(23,128,84,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,128,84,.10) 1px, transparent 1px); background-size: 44px 44px; }
.pv-wattwin { background: #eceafb !important; border-color: transparent !important; }
.pv-wattwin::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='180' viewBox='0 0 280 180'%3E%3Cg fill='none' stroke='%235b4fc7' stroke-opacity='.10' stroke-width='1.2'%3E%3Ccircle cx='30' cy='40' r='9'/%3E%3Cpath d='M39 40h52'/%3E%3Cpath d='M101 30l10 10-10 10-10-10z'/%3E%3Cpath d='M111 40h44'/%3E%3Crect x='155' y='26' width='54' height='28' rx='4'/%3E%3Cpath d='M101 50v70h54'/%3E%3Crect x='155' y='106' width='54' height='28' rx='4'/%3E%3Cpath d='M209 40h40'/%3E%3Ccircle cx='258' cy='40' r='9' stroke-width='2.4'/%3E%3C/g%3E%3C/svg%3E"); background-size: 280px 180px; }
.pv-apptiv { background: #fdf5de !important; border-color: transparent !important; }
.pv-apptiv::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 720' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M0.0 250.0 L10.0 259.6 L20.0 269.0 L30.0 278.2 L40.0 287.0 L50.0 295.3 L60.0 303.0 L70.0 310.0 L80.0 316.2 L90.0 321.6 L100.0 326.0 L110.0 329.5 L120.0 332.0 L130.0 333.5 L140.0 334.1 L150.0 333.8 L160.0 332.6 L170.0 330.6 L180.0 327.8 L190.0 324.3 L200.0 320.3 L210.0 315.8 L220.0 310.8 L230.0 305.6 L240.0 300.2 L250.0 294.7 L260.0 289.2 L270.0 283.7 L280.0 278.4 L290.0 273.3 L300.0 268.5 L310.0 264.0 L320.0 259.8 L330.0 255.9 L340.0 252.4 L350.0 249.2 L360.0 246.4 L370.0 243.8 L380.0 241.5 L390.0 239.4 L400.0 237.4 L410.0 235.6 L420.0 233.8 L430.0 232.0 L440.0 230.1 L450.0 228.2 L460.0 226.1 L470.0 223.8 L480.0 221.4 L490.0 218.7 L500.0 215.9 L510.0 212.8 L520.0 209.6 L530.0 206.2 L540.0 202.8 L550.0 199.3 L560.0 195.8 L570.0 192.5 L580.0 189.3 L590.0 186.3 L600.0 183.7 L610.0 181.6 L620.0 179.9 L630.0 178.8 L640.0 178.4 L650.0 178.7 L660.0 179.8 L670.0 181.6 L680.0 184.3 L690.0 187.9 L700.0 192.3 L710.0 197.5 L720.0 203.4 L730.0 210.2 L740.0 217.6 L750.0 225.5 L760.0 234.0 L770.0 242.9 L780.0 252.0 L790.0 261.3 L800.0 270.6 L810.0 279.8 L820.0 288.8 L830.0 297.4 L840.0 305.5 L850.0 313.1 L860.0 319.9 L870.0 325.9 L880.0 331.1 L890.0 335.3 L900.0 338.5 L910.0 340.7 L920.0 341.8 L930.0 341.9 L940.0 341.0 L950.0 339.0 L960.0 336.2 L970.0 332.4 L980.0 327.9 L990.0 322.6 L1000.0 316.8 L1010.0 310.4 L1020.0 303.7 L1030.0 296.6 L1040.0 289.4 L1050.0 282.2 L1060.0 275.0 L1070.0 267.9 L1080.0 261.1 L1090.0 254.5 L1100.0 248.4 L1110.0 242.7 L1120.0 237.5 L1130.0 232.7 L1140.0 228.5 L1150.0 224.9 L1160.0 221.7 L1170.0 219.0 L1180.0 216.8 L1190.0 214.9 L1200.0 213.5 L1210.0 212.3 L1220.0 211.4 L1230.0 210.7 L1240.0 210.1 L1250.0 209.6 L1260.0 209.1 L1270.0 208.5 L1280.0 207.9 L1290.0 207.2 L1300.0 206.4 L1310.0 205.5 L1320.0 204.4 L1330.0 203.2 L1340.0 201.9 L1350.0 200.6 L1360.0 199.3 L1370.0 198.0 L1380.0 196.9 L1390.0 195.9 L1400.0 195.1 L1410.0 194.7 L1420.0 194.6 L1430.0 195.0 L1440.0 195.9 L1450.0 197.3 L1460.0 199.4 L1470.0 202.1 L1480.0 205.5 L1490.0 209.6 L1500.0 214.3 L1510.0 219.7 L1520.0 225.8 L1530.0 232.4 L1540.0 239.6 L1550.0 247.2 L1560.0 255.2 L1570.0 263.4 L1580.0 271.9 L1590.0 280.3 L1600.0 288.7' stroke='%23e0a400' stroke-opacity='0.32' stroke-width='2'/%3E%3Cpath d='M0.0 340.2 L10.0 333.8 L20.0 327.3 L30.0 320.8 L40.0 314.4 L50.0 308.2 L60.0 302.3 L70.0 296.8 L80.0 291.6 L90.0 286.9 L100.0 282.5 L110.0 278.6 L120.0 275.2 L130.0 272.2 L140.0 269.5 L150.0 267.3 L160.0 265.3 L170.0 263.6 L180.0 262.1 L190.0 260.7 L200.0 259.5 L210.0 258.3 L220.0 257.0 L230.0 255.8 L240.0 254.4 L250.0 252.9 L260.0 251.2 L270.0 249.4 L280.0 247.5 L290.0 245.4 L300.0 243.2 L310.0 241.0 L320.0 238.7 L330.0 236.4 L340.0 234.2 L350.0 232.2 L360.0 230.4 L370.0 228.9 L380.0 227.8 L390.0 227.1 L400.0 227.0 L410.0 227.5 L420.0 228.6 L430.0 230.4 L440.0 232.9 L450.0 236.2 L460.0 240.3 L470.0 245.1 L480.0 250.6 L490.0 256.9 L500.0 263.7 L510.0 271.2 L520.0 279.1 L530.0 287.5 L540.0 296.1 L550.0 305.0 L560.0 313.9 L570.0 322.8 L580.0 331.5 L590.0 339.8 L600.0 347.8 L610.0 355.2 L620.0 361.9 L630.0 367.9 L640.0 373.1 L650.0 377.3 L660.0 380.5 L670.0 382.7 L680.0 383.9 L690.0 383.9 L700.0 383.0 L710.0 380.9 L720.0 377.9 L730.0 374.0 L740.0 369.1 L750.0 363.5 L760.0 357.3 L770.0 350.4 L780.0 343.1 L790.0 335.4 L800.0 327.5 L810.0 319.5 L820.0 311.4 L830.0 303.5 L840.0 295.8 L850.0 288.5 L860.0 281.5 L870.0 275.0 L880.0 269.0 L890.0 263.5 L900.0 258.7 L910.0 254.5 L920.0 251.0 L930.0 248.0 L940.0 245.6 L950.0 243.8 L960.0 242.4 L970.0 241.6 L980.0 241.1 L990.0 240.9 L1000.0 241.1 L1010.0 241.4 L1020.0 241.8 L1030.0 242.4 L1040.0 242.9 L1050.0 243.4 L1060.0 243.9 L1070.0 244.3 L1080.0 244.5 L1090.0 244.7 L1100.0 244.7 L1110.0 244.7 L1120.0 244.5 L1130.0 244.3 L1140.0 244.2 L1150.0 244.1 L1160.0 244.1 L1170.0 244.3 L1180.0 244.7 L1190.0 245.4 L1200.0 246.5 L1210.0 248.0 L1220.0 250.0 L1230.0 252.5 L1240.0 255.6 L1250.0 259.2 L1260.0 263.4 L1270.0 268.2 L1280.0 273.6 L1290.0 279.5 L1300.0 285.9 L1310.0 292.8 L1320.0 300.0 L1330.0 307.5 L1340.0 315.2 L1350.0 323.0 L1360.0 330.7 L1370.0 338.4 L1380.0 345.7 L1390.0 352.8 L1400.0 359.3 L1410.0 365.2 L1420.0 370.5 L1430.0 375.0 L1440.0 378.6 L1450.0 381.2 L1460.0 382.9 L1470.0 383.5 L1480.0 383.1 L1490.0 381.6 L1500.0 379.1 L1510.0 375.5 L1520.0 371.0 L1530.0 365.5 L1540.0 359.2 L1550.0 352.2 L1560.0 344.5 L1570.0 336.3 L1580.0 327.7 L1590.0 318.9 L1600.0 309.8' stroke='%23e0a400' stroke-opacity='0.22' stroke-width='2'/%3E%3Cpath d='M0.0 287.5 L10.0 287.1 L20.0 286.7 L30.0 286.2 L40.0 285.6 L50.0 284.8 L60.0 283.9 L70.0 282.9 L80.0 281.9 L90.0 280.8 L100.0 279.7 L110.0 278.6 L120.0 277.7 L130.0 277.0 L140.0 276.5 L150.0 276.4 L160.0 276.6 L170.0 277.3 L180.0 278.5 L190.0 280.3 L200.0 282.7 L210.0 285.7 L220.0 289.4 L230.0 293.7 L240.0 298.7 L250.0 304.4 L260.0 310.6 L270.0 317.4 L280.0 324.7 L290.0 332.4 L300.0 340.4 L310.0 348.7 L320.0 357.0 L330.0 365.3 L340.0 373.6 L350.0 381.5 L360.0 389.1 L370.0 396.3 L380.0 402.8 L390.0 408.6 L400.0 413.6 L410.0 417.8 L420.0 421.0 L430.0 423.1 L440.0 424.3 L450.0 424.3 L460.0 423.3 L470.0 421.3 L480.0 418.2 L490.0 414.1 L500.0 409.1 L510.0 403.3 L520.0 396.7 L530.0 389.5 L540.0 381.8 L550.0 373.6 L560.0 365.2 L570.0 356.5 L580.0 347.9 L590.0 339.3 L600.0 330.9 L610.0 322.8 L620.0 315.0 L630.0 307.8 L640.0 301.2 L650.0 295.1 L660.0 289.7 L670.0 285.0 L680.0 281.1 L690.0 277.8 L700.0 275.3 L710.0 273.4 L720.0 272.2 L730.0 271.5 L740.0 271.4 L750.0 271.8 L760.0 272.5 L770.0 273.6 L780.0 275.0 L790.0 276.5 L800.0 278.2 L810.0 279.9 L820.0 281.6 L830.0 283.3 L840.0 284.9 L850.0 286.4 L860.0 287.7 L870.0 288.9 L880.0 290.0 L890.0 291.0 L900.0 291.8 L910.0 292.7 L920.0 293.5 L930.0 294.4 L940.0 295.3 L950.0 296.5 L960.0 297.8 L970.0 299.4 L980.0 301.4 L990.0 303.7 L1000.0 306.4 L1010.0 309.6 L1020.0 313.3 L1030.0 317.4 L1040.0 322.1 L1050.0 327.2 L1060.0 332.7 L1070.0 338.7 L1080.0 345.0 L1090.0 351.6 L1100.0 358.4 L1110.0 365.3 L1120.0 372.3 L1130.0 379.2 L1140.0 385.9 L1150.0 392.3 L1160.0 398.3 L1170.0 403.8 L1180.0 408.7 L1190.0 412.9 L1200.0 416.3 L1210.0 418.8 L1220.0 420.3 L1230.0 420.9 L1240.0 420.5 L1250.0 419.0 L1260.0 416.5 L1270.0 413.0 L1280.0 408.5 L1290.0 403.0 L1300.0 396.7 L1310.0 389.7 L1320.0 381.9 L1330.0 373.6 L1340.0 364.8 L1350.0 355.7 L1360.0 346.3 L1370.0 336.9 L1380.0 327.6 L1390.0 318.4 L1400.0 309.5 L1410.0 301.0 L1420.0 293.1 L1430.0 285.8 L1440.0 279.2 L1450.0 273.3 L1460.0 268.2 L1470.0 264.0 L1480.0 260.7 L1490.0 258.2 L1500.0 256.6 L1510.0 255.8 L1520.0 255.9 L1530.0 256.6 L1540.0 258.0 L1550.0 260.0 L1560.0 262.6 L1570.0 265.5 L1580.0 268.9 L1590.0 272.5 L1600.0 276.2' stroke='%23e0a400' stroke-opacity='0.15' stroke-width='2'/%3E%3Cpath d='M0.0 525.1 L10.0 527.2 L20.0 528.5 L30.0 529.1 L40.0 528.8 L50.0 527.8 L60.0 526.1 L70.0 523.6 L80.0 520.6 L90.0 517.0 L100.0 512.8 L110.0 508.2 L120.0 503.3 L130.0 498.0 L140.0 492.5 L150.0 486.8 L160.0 481.1 L170.0 475.3 L180.0 469.5 L190.0 463.8 L200.0 458.2 L210.0 452.9 L220.0 447.7 L230.0 442.9 L240.0 438.3 L250.0 434.0 L260.0 430.0 L270.0 426.4 L280.0 423.0 L290.0 420.0 L300.0 417.2 L310.0 414.8 L320.0 412.5 L330.0 410.5 L340.0 408.7 L350.0 407.0 L360.0 405.4 L370.0 403.8 L380.0 402.3 L390.0 400.8 L400.0 399.3 L410.0 397.6 L420.0 395.9 L430.0 394.1 L440.0 392.1 L450.0 390.0 L460.0 387.7 L470.0 385.3 L480.0 382.8 L490.0 380.1 L500.0 377.4 L510.0 374.6 L520.0 371.8 L530.0 369.0 L540.0 366.2 L550.0 363.6 L560.0 361.1 L570.0 358.9 L580.0 356.9 L590.0 355.2 L600.0 353.9 L610.0 353.1 L620.0 352.7 L630.0 352.9 L640.0 353.6 L650.0 354.9 L660.0 356.9 L670.0 359.5 L680.0 362.7 L690.0 366.6 L700.0 371.2 L710.0 376.4 L720.0 382.2 L730.0 388.6 L740.0 395.5 L750.0 402.9 L760.0 410.7 L770.0 418.8 L780.0 427.3 L790.0 436.0 L800.0 444.8 L810.0 453.6 L820.0 462.4 L830.0 471.0 L840.0 479.4 L850.0 487.5 L860.0 495.3 L870.0 502.5 L880.0 509.2 L890.0 515.3 L900.0 520.7 L910.0 525.4 L920.0 529.3 L930.0 532.3 L940.0 534.6 L950.0 536.0 L960.0 536.5 L970.0 536.1 L980.0 534.9 L990.0 532.9 L1000.0 530.1 L1010.0 526.6 L1020.0 522.3 L1030.0 517.4 L1040.0 512.0 L1050.0 506.0 L1060.0 499.6 L1070.0 492.9 L1080.0 485.9 L1090.0 478.6 L1100.0 471.3 L1110.0 463.9 L1120.0 456.6 L1130.0 449.3 L1140.0 442.3 L1150.0 435.4 L1160.0 428.9 L1170.0 422.7 L1180.0 416.9 L1190.0 411.5 L1200.0 406.5 L1210.0 402.0 L1220.0 397.9 L1230.0 394.3 L1240.0 391.2 L1250.0 388.5 L1260.0 386.3 L1270.0 384.4 L1280.0 382.9 L1290.0 381.7 L1300.0 380.8 L1310.0 380.2 L1320.0 379.7 L1330.0 379.5 L1340.0 379.3 L1350.0 379.2 L1360.0 379.2 L1370.0 379.2 L1380.0 379.1 L1390.0 379.0 L1400.0 378.9 L1410.0 378.6 L1420.0 378.3 L1430.0 377.8 L1440.0 377.3 L1450.0 376.7 L1460.0 376.0 L1470.0 375.2 L1480.0 374.5 L1490.0 373.8 L1500.0 373.1 L1510.0 372.6 L1520.0 372.2 L1530.0 371.9 L1540.0 371.9 L1550.0 372.2 L1560.0 372.8 L1570.0 373.8 L1580.0 375.2 L1590.0 377.0 L1600.0 379.3' stroke='%239fbf17' stroke-opacity='0.32' stroke-width='2'/%3E%3Cpath d='M0.0 449.6 L10.0 446.1 L20.0 443.1 L30.0 440.4 L40.0 438.1 L50.0 436.1 L60.0 434.3 L70.0 432.9 L80.0 431.6 L90.0 430.5 L100.0 429.6 L110.0 428.7 L120.0 427.9 L130.0 427.1 L140.0 426.3 L150.0 425.4 L160.0 424.5 L170.0 423.5 L180.0 422.4 L190.0 421.2 L200.0 419.8 L210.0 418.4 L220.0 416.9 L230.0 415.3 L240.0 413.6 L250.0 412.0 L260.0 410.3 L270.0 408.7 L280.0 407.2 L290.0 405.9 L300.0 404.8 L310.0 403.9 L320.0 403.3 L330.0 403.0 L340.0 403.2 L350.0 403.8 L360.0 404.8 L370.0 406.4 L380.0 408.5 L390.0 411.2 L400.0 414.4 L410.0 418.2 L420.0 422.6 L430.0 427.6 L440.0 433.2 L450.0 439.2 L460.0 445.8 L470.0 452.8 L480.0 460.2 L490.0 467.9 L500.0 476.0 L510.0 484.2 L520.0 492.5 L530.0 500.9 L540.0 509.2 L550.0 517.4 L560.0 525.4 L570.0 533.1 L580.0 540.4 L590.0 547.2 L600.0 553.5 L610.0 559.2 L620.0 564.3 L630.0 568.6 L640.0 572.1 L650.0 574.8 L660.0 576.7 L670.0 577.7 L680.0 577.9 L690.0 577.2 L700.0 575.6 L710.0 573.1 L720.0 569.9 L730.0 565.9 L740.0 561.1 L750.0 555.7 L760.0 549.7 L770.0 543.2 L780.0 536.2 L790.0 528.8 L800.0 521.1 L810.0 513.2 L820.0 505.2 L830.0 497.2 L840.0 489.1 L850.0 481.2 L860.0 473.5 L870.0 466.0 L880.0 458.8 L890.0 452.0 L900.0 445.7 L910.0 439.7 L920.0 434.3 L930.0 429.4 L940.0 425.1 L950.0 421.3 L960.0 418.0 L970.0 415.3 L980.0 413.1 L990.0 411.3 L1000.0 410.1 L1010.0 409.3 L1020.0 408.8 L1030.0 408.7 L1040.0 408.9 L1050.0 409.4 L1060.0 410.1 L1070.0 410.9 L1080.0 411.9 L1090.0 412.9 L1100.0 414.0 L1110.0 415.0 L1120.0 416.1 L1130.0 417.0 L1140.0 417.9 L1150.0 418.7 L1160.0 419.4 L1170.0 420.0 L1180.0 420.5 L1190.0 420.9 L1200.0 421.3 L1210.0 421.6 L1220.0 421.9 L1230.0 422.3 L1240.0 422.7 L1250.0 423.2 L1260.0 423.8 L1270.0 424.6 L1280.0 425.6 L1290.0 427.0 L1300.0 428.6 L1310.0 430.5 L1320.0 432.8 L1330.0 435.5 L1340.0 438.7 L1350.0 442.2 L1360.0 446.2 L1370.0 450.7 L1380.0 455.5 L1390.0 460.8 L1400.0 466.5 L1410.0 472.6 L1420.0 478.9 L1430.0 485.6 L1440.0 492.5 L1450.0 499.5 L1460.0 506.6 L1470.0 513.8 L1480.0 520.9 L1490.0 527.9 L1500.0 534.6 L1510.0 541.2 L1520.0 547.3 L1530.0 553.0 L1540.0 558.2 L1550.0 562.9 L1560.0 566.9 L1570.0 570.2 L1580.0 572.8 L1590.0 574.6 L1600.0 575.5' stroke='%239fbf17' stroke-opacity='0.22' stroke-width='2'/%3E%3Cpath d='M0.0 454.8 L10.0 454.4 L20.0 454.1 L30.0 453.9 L40.0 454.0 L50.0 454.3 L60.0 455.0 L70.0 455.9 L80.0 457.3 L90.0 459.0 L100.0 461.2 L110.0 463.9 L120.0 467.1 L130.0 470.7 L140.0 474.9 L150.0 479.6 L160.0 484.7 L170.0 490.4 L180.0 496.5 L190.0 502.9 L200.0 509.8 L210.0 516.9 L220.0 524.4 L230.0 532.0 L240.0 539.7 L250.0 547.4 L260.0 555.1 L270.0 562.8 L280.0 570.2 L290.0 577.3 L300.0 584.1 L310.0 590.4 L320.0 596.2 L330.0 601.4 L340.0 606.0 L350.0 609.9 L360.0 613.0 L370.0 615.3 L380.0 616.8 L390.0 617.5 L400.0 617.2 L410.0 616.1 L420.0 614.2 L430.0 611.3 L440.0 607.7 L450.0 603.3 L460.0 598.1 L470.0 592.3 L480.0 585.9 L490.0 578.9 L500.0 571.4 L510.0 563.5 L520.0 555.3 L530.0 546.9 L540.0 538.4 L550.0 529.7 L560.0 521.2 L570.0 512.7 L580.0 504.4 L590.0 496.5 L600.0 488.8 L610.0 481.5 L620.0 474.8 L630.0 468.5 L640.0 462.7 L650.0 457.6 L660.0 453.0 L670.0 449.1 L680.0 445.8 L690.0 443.0 L700.0 440.9 L710.0 439.4 L720.0 438.5 L730.0 438.0 L740.0 438.1 L750.0 438.6 L760.0 439.4 L770.0 440.7 L780.0 442.2 L790.0 443.9 L800.0 445.9 L810.0 448.0 L820.0 450.1 L830.0 452.3 L840.0 454.5 L850.0 456.7 L860.0 458.8 L870.0 460.9 L880.0 462.8 L890.0 464.6 L900.0 466.3 L910.0 467.8 L920.0 469.3 L930.0 470.6 L940.0 471.9 L950.0 473.1 L960.0 474.2 L970.0 475.4 L980.0 476.6 L990.0 477.9 L1000.0 479.4 L1010.0 480.9 L1020.0 482.7 L1030.0 484.7 L1040.0 487.0 L1050.0 489.5 L1060.0 492.4 L1070.0 495.6 L1080.0 499.2 L1090.0 503.1 L1100.0 507.4 L1110.0 512.0 L1120.0 517.0 L1130.0 522.3 L1140.0 527.9 L1150.0 533.7 L1160.0 539.7 L1170.0 545.9 L1180.0 552.2 L1190.0 558.5 L1200.0 564.7 L1210.0 570.9 L1220.0 576.9 L1230.0 582.6 L1240.0 588.0 L1250.0 593.0 L1260.0 597.6 L1270.0 601.6 L1280.0 605.1 L1290.0 607.8 L1300.0 609.9 L1310.0 611.3 L1320.0 611.8 L1330.0 611.6 L1340.0 610.5 L1350.0 608.6 L1360.0 605.9 L1370.0 602.3 L1380.0 598.0 L1390.0 592.9 L1400.0 587.1 L1410.0 580.6 L1420.0 573.5 L1430.0 565.8 L1440.0 557.7 L1450.0 549.2 L1460.0 540.4 L1470.0 531.4 L1480.0 522.3 L1490.0 513.1 L1500.0 504.0 L1510.0 495.0 L1520.0 486.2 L1530.0 477.7 L1540.0 469.7 L1550.0 462.1 L1560.0 455.0 L1570.0 448.5 L1580.0 442.6 L1590.0 437.4 L1600.0 432.9' stroke='%239fbf17' stroke-opacity='0.15' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E"); background-size: cover; background-position: center; }
.pv-volvero { background: #d6e9ff !important; border-color: transparent !important; }
.pv-volvero::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='260' viewBox='0 0 300 260'%3E%3Cg fill='none' stroke='%23027ffe' stroke-opacity='.08'%3E%3Ccircle cx='70' cy='70' r='42' stroke-width='14'/%3E%3Ccircle cx='230' cy='190' r='30' stroke-width='11'/%3E%3C/g%3E%3C/svg%3E"); background-size: 300px 260px; }

.project .preview::before {
  content: ""; position: absolute; inset: -24px; z-index: 0; pointer-events: none;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .6s ease; opacity: .9;
}
.pv-wattwin img, .pv-apptiv img { position: relative; z-index: 1; }
.pv-cafler img, .pv-volvero .stage { z-index: 1; }
.project:hover .preview::before { transform: translate(-14px, -10px) scale(1.04); opacity: 1; }
/* device lifts on hover */
.project .preview img { transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .6s ease; }
.project:hover .pv-wattwin img { transform: translateY(-8px) scale(1.02); filter: drop-shadow(0 22px 26px rgba(40,20,90,.18)); }
.project:hover .pv-apptiv img { transform: translateY(-8px) scale(1.02); }
.pv-apptiv img { width: auto !important; height: 88% !important; object-fit: contain !important; }
.project:hover .pv-volvero .phone { transform: translateY(-8px); }
.project:hover .pv-volvero .detail { transform: rotate(6deg) translate(8px, -14px); }

/* Home intro: plays once per visit (html.intro-play is set in <head>) */
.intro-play .hero .eyebrow { animation: intro-up .7s cubic-bezier(.2,.7,.2,1) .05s both; }
.intro-play .hero h1 .w { display: inline-block; animation: intro-word .8s cubic-bezier(.2,.7,.2,1) both; }
.intro-play .hero h1 .w:nth-child(1) { animation-delay: .15s; }
.intro-play .hero h1 .w:nth-child(2) { animation-delay: .3s; }
.intro-play .hero .intro-head img { animation: intro-wave 1.1s cubic-bezier(.2,.7,.2,1) .5s both; transform-origin: 30% 80%; }
.intro-play .hero .intro p:nth-child(1) { animation: intro-up .8s cubic-bezier(.2,.7,.2,1) .55s both; }
.intro-play .hero .intro p:nth-child(2) { animation: intro-up .8s cubic-bezier(.2,.7,.2,1) .68s both; }
.intro-play .hero .dots span { animation: intro-pop .6s cubic-bezier(.3,1.6,.5,1) both; }
.intro-play .hero .dots span:nth-child(1) { animation-delay: .8s; }
.intro-play .hero .dots span:nth-child(2) { animation-delay: .9s; }
.intro-play .hero .dots span:nth-child(3) { animation-delay: 1s; }
.intro-play .work-head { animation: intro-up .8s cubic-bezier(.2,.7,.2,1) .9s both; }
.intro-play .projects .project:nth-child(1) { animation: intro-card 1s cubic-bezier(.2,.7,.2,1) 1s both; }
.intro-play .projects .project:nth-child(2) { animation: intro-card 1s cubic-bezier(.2,.7,.2,1) 1.15s both; }
@keyframes intro-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes intro-word { from { opacity: 0; transform: translateY(60%) rotate(4deg); } to { opacity: 1; transform: none; } }
@keyframes intro-wave { 0% { opacity: 0; transform: rotate(-20deg) scale(.6); } 50% { opacity: 1; transform: rotate(14deg) scale(1.05); } 75% { transform: rotate(-6deg); } 100% { opacity: 1; transform: none; } }
@keyframes intro-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
@keyframes intro-card { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }

/* ---------- Work in progress card (home) ---------- */
.project--wip { cursor: default; }
.pv-wip { background: #e5f6ee !important; border-color: transparent !important; }
.pv-wip::before { background-image: linear-gradient(rgba(23,128,84,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(23,128,84,.10) 1px, transparent 1px); background-size: 44px 44px; }
.wip-badge { position: absolute; top: 20px; left: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .3px; color: #137a4f; box-shadow: 0 4px 14px -6px rgba(19,122,79,.4); }
.wip-badge i { width: 8px; height: 8px; border-radius: 50%; background: #1fb874; box-shadow: 0 0 0 0 rgba(31,184,116,.6); animation: wip-pulse 1.8s ease-out infinite; }
@keyframes wip-pulse { 0% { box-shadow: 0 0 0 0 rgba(31,184,116,.55); } 80%,100% { box-shadow: 0 0 0 10px rgba(31,184,116,0); } }
.wip-browser { position: relative; z-index: 1; width: min(640px, 84%); border-radius: 12px; background: #fff; box-shadow: 0 24px 40px -22px rgba(19,90,60,.35); overflow: hidden; transform: translateY(40px); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.project--wip:hover .wip-browser { transform: translateY(30px); }
.wip-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f3f5f4; }
.wip-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d7dcd9; }
.wip-bar b { margin-left: 14px; height: 10px; width: 38%; border-radius: 6px; background: #e3e7e5; }
.wip-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; padding: 22px; }
.wip-col, .wip-side { display: flex; flex-direction: column; gap: 10px; }
.wip-side { padding: 14px; border-radius: 10px; background: #f6f8f7; }
.sk { display: block; border-radius: 6px; background: linear-gradient(90deg, #eceff0 25%, #f6f8f8 50%, #eceff0 75%); background-size: 300% 100%; animation: wip-shimmer 1.8s linear infinite; }
@keyframes wip-shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.sk-title { height: 16px; width: 55%; }
.sk-line { height: 9px; width: 90%; }
.sk-line.short { width: 55%; }
.wip-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0; }
.sk-card { height: 54px; border-radius: 8px; }
.wip-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.wip-cal span { height: 22px; border-radius: 5px; }
.sk.on { background: #1fb874; animation: none; opacity: .85; }
.sk-total { height: 18px; width: 50%; margin-top: auto; }
.sk-btn { height: 30px; border-radius: 8px; background: #137a4f; animation: none; opacity: .9; }
.wip-soon { flex-shrink: 0; margin-top: 4px; padding: 9px 16px; border: 1px dashed #b9c3bf; border-radius: 999px; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .4px; text-transform: uppercase; color: #6b7570; }
@media (max-width: 760px) {
  .wip-body { grid-template-columns: 1fr; padding: 14px; }
  .wip-side { display: none; }
  .wip-browser { width: 88%; transform: translateY(24px); }
}
@media (prefers-reduced-motion: reduce) { .sk, .wip-badge i { animation: none; } }


/* =========================================================
   Home grid: Cafler featured full width, the rest 2 per row
   ========================================================= */
@media (min-width: 900px) {
  .projects { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 72px; }
  .projects > .project:first-child { grid-column: 1 / -1; }
  .projects > .project:not(:first-child) .preview { height: 320px; }
  .projects > .project:not(:first-child) .meta { flex-direction: column; gap: 14px; }

  /* images sized for the narrower cards */
  .pv-wattwin img { width: 84% !important; height: auto !important; }
  .pv-apptiv img { height: 90% !important; }
  .projects > .project:not(:first-child) .pv-volvero .stage { transform: scale(.74); transform-origin: 50% 8%; }
  .projects > .project:not(:first-child) .wip-browser { width: 88%; transform: translateY(34px); }
  .projects > .project:not(:first-child) .wip-body { grid-template-columns: 1.5fr 1fr; gap: 14px; padding: 16px; }
  .projects > .project:not(:first-child) .wip-services .sk-card { height: 40px; }
  .projects > .project--wip:hover .wip-browser { transform: translateY(26px); }
}

/* ---------- Home: one step smaller (less scroll) ---------- */
@media (min-width: 900px) {
  .projects { row-gap: 56px !important; column-gap: 28px !important; padding-top: 36px !important; padding-bottom: 88px !important; }
  .project { gap: 18px; }
  .projects > .project:first-child .preview { height: 340px; }
  .projects > .project:not(:first-child) .preview { height: 260px; }
  .pv-cafler img { width: 380px !important; height: 526px !important; transform: translate(-50%, calc(-50% + 120px)) !important; }
  .project:hover .pv-cafler img { transform: translate(-50%, calc(-50% + 110px)) !important; }
  .pv-wattwin img { width: auto !important; height: 84% !important; }
  .projects > .project:not(:first-child) .pv-volvero .stage { transform: scale(.6); transform-origin: 50% 6%; }
  .projects > .project:not(:first-child) .wip-browser { width: 84%; transform: translateY(30px); }
  .projects > .project:not(:first-child) .wip-body { padding: 12px; gap: 10px; }
  .projects > .project:not(:first-child) .wip-col, .projects > .project:not(:first-child) .wip-side { gap: 7px; }
  .projects > .project:not(:first-child) .wip-services .sk-card { height: 30px; }
  .projects > .project:not(:first-child) .wip-cal span { height: 16px; }
  .project h3 { font-size: 20px; line-height: 28px; }
  .project .meta { gap: 18px; }
  .projects > .project:not(:first-child) .meta { gap: 10px; }
}
/* View project button on the same line as the tags, right-aligned */
@media (min-width: 900px) {
  .projects > .project .meta,
  .projects > .project:not(:first-child) .meta { flex-direction: row !important; align-items: flex-end !important; justify-content: space-between; gap: 16px; }
  .projects > .project .meta .info { flex: 1; min-width: 0; }
  .projects > .project .meta .btn-view, .projects > .project .meta .wip-soon { margin-top: 0; flex-shrink: 0; }
}
@media (min-width: 900px) {
  .projects > .project .meta,
  .projects > .project:not(:first-child) .meta { display: grid !important; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 8px; align-items: center !important; }
  .projects > .project .meta .info { display: contents; }
  .projects > .project .meta h3, .projects > .project .meta .desc { grid-column: 1 / -1; }
  .projects > .project .meta .tags { grid-column: 1; padding-top: 4px; }
  .projects > .project .meta .btn-view, .projects > .project .meta .wip-soon { grid-column: 2; grid-row: 3; align-self: center; justify-self: end; }
}
/* project titles always on one line (size adapts to the card width) */
.projects .project h3 { white-space: nowrap; font-size: clamp(14px, 4.3vw, 20px); }
@media (min-width: 900px) { .projects > .project:not(:first-child) h3 { font-size: clamp(14px, 1.62vw, 20px); } }
@media (max-width: 899px) { .projects .project h3 { font-size: clamp(13px, 3.8vw, 20px); letter-spacing: .3px; gap: 8px; } }

/* =========================================================
   Home project meta v3: title + round arrow on one line,
   description, then light tags
   ========================================================= */
.projects .project .meta { display: grid !important; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 6px; align-items: center !important; padding: 0 2px; }
.projects .project .meta .info { display: contents; }
.projects .project .meta h3 { grid-column: 1; grid-row: 1; }
.projects .project .meta .btn-view, .projects .project .meta .wip-soon { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; margin: 0; }
.projects .project .meta .desc { grid-column: 1 / -1; grid-row: 2; font-size: 15px; line-height: 24px; color: #5b5b63; }
.projects .project .meta .tags { grid-column: 1 / -1; grid-row: 3; padding-top: 6px; gap: 6px; }
/* round arrow instead of the big pill */
.projects .project .btn-view { width: 40px; height: 40px; padding: 0 !important; border-radius: 50%; font-size: 0 !important; gap: 0; border: 1px solid #252325; background: #fff; transition: background .3s ease, border-color .3s ease, transform .3s ease; }
.projects .project .btn-view svg { width: 15px; height: 15px; margin: 0; }
.projects .project:hover .btn-view { background: #252325; color: #fff; border-color: #252325; transform: none; }
.projects .project:hover .btn-view .arr { animation: none; transform: translateX(2px) rotate(-45deg); }
.projects .project .btn-view .arr { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
/* light, tinted tags */
.projects .tag { --c: #252325; background: color-mix(in srgb, var(--c) 10%, #fff) !important; color: var(--c) !important; border: 0; font-size: 10.5px; letter-spacing: .5px; padding: 4px 10px; }
.projects .t-cafler { --c: #137a4f; }
.projects .t-wattwin { --c: #4b2a9e; }
.projects .t-apptiv { --c: #b07f00; }
.projects .t-volvero { --c: #0a63c9; }
/* work in progress: small text instead of the arrow */
.projects .project .wip-soon { padding: 6px 12px; font-size: 10.5px; }
.projects .project .meta { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 899px) {
  .projects .project .meta .wip-soon { grid-column: 1 / -1; grid-row: 4; justify-self: start; margin-top: 8px; }
}
@media (max-width: 899px) { .projects .project h3 { font-size: clamp(12.5px, 3.45vw, 20px); letter-spacing: .1px; } .projects .project .btn-view { width: 36px; height: 36px; } }
.about-row .lead { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
.about-row .lead { hyphens: manual; -webkit-hyphens: manual; }
/* justified long paragraphs (class added by main.js on desktop) */
p.jt { text-align: justify; text-justify: inter-word; hyphens: manual; }
/* WIP illustration: centred and a bit smaller */
.projects .project--wip .wip-browser { width: 72% !important; transform: translateY(10px) !important; }
.projects .project--wip:hover .wip-browser { transform: translateY(4px) !important; }
@media (max-width: 899px) { .projects .project--wip .wip-browser { width: 78% !important; transform: translateY(12px) !important; } }
.projects .project--wip .wip-browser { width: 66% !important; transform: translateY(6px) !important; }
.projects .project--wip:hover .wip-browser { transform: translateY(0) !important; }
.projects .project .wip-soon { min-height: 40px; display: inline-flex; align-items: center; box-sizing: border-box; }
.pv-volvero .detail { object-fit: contain; border-radius: 0; height: auto !important; }
.pv-volvero .phone, .pv-volvero .detail { image-rendering: auto; backface-visibility: hidden; }
/* Volvero home card: one pre-composed, sharp image (no browser scaling) */
.pv-volvero .vv-combo { position: absolute; left: 50%; top: 0; width: 580px; height: 260px; margin-left: -290px; z-index: 1; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.project:hover .pv-volvero .vv-combo { transform: translateY(-6px); }
@media (max-width: 899px) { .pv-volvero .vv-combo { width: 100%; height: 100%; left: 0; margin-left: 0; object-fit: contain; object-position: center top; } }
@media (max-width: 899px) { .pv-volvero .vv-combo { object-fit: cover !important; object-position: 60% 0 !important; } }

/* =========================================================
   Case index v3 (layout chosen in JS: .rail or strip)
   ========================================================= */
.case-nav { --accent: #252325; }
main.cf ~ .case-nav { --accent: #137a4f; }
main.ww ~ .case-nav { --accent: #5b3fc4; }
main.ap ~ .case-nav { --accent: #c99300; }
main.vv ~ .case-nav { --accent: #0a6fe0; }
.case-nav-track { display: none; }

/* ---- strip: full width, attached under the header ---- */
.case-nav:not(.rail) {
  left: 0 !important; right: 0; width: 100% !important; max-width: none !important; top: 0;
  transform: translateY(-6px) !important; background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(37,35,37,.08);
  transition: opacity .25s ease, transform .25s ease, top .3s cubic-bezier(.2,.7,.2,1), visibility 0s linear .25s;
}
.case-nav:not(.rail).show { transform: none !important; transition: opacity .25s ease, transform .25s ease, top .3s cubic-bezier(.2,.7,.2,1); }
.case-nav:not(.rail) .case-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 var(--page-x, 24px) !important; gap: 22px !important;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; backdrop-filter: none !important;
}
.case-nav:not(.rail) a {
  position: relative; padding: 12px 0 !important; border-radius: 0 !important; background: none !important;
  font-family: "Inter", sans-serif; font-size: 12px !important; letter-spacing: .3px; text-transform: none !important;
  color: #8a8a90 !important; white-space: nowrap; flex-shrink: 0;
}
.case-nav:not(.rail) a:hover { color: #252325 !important; }
.case-nav:not(.rail) a.active { color: #111 !important; font-weight: 600; background: none !important; }
.case-nav:not(.rail) a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); }
.case-nav:not(.rail)::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--accent); opacity: .25; }

/* ---- rail: vertical index centred in the empty left margin ---- */
.case-nav.rail { top: 50% !important; width: auto !important; max-width: none !important; transform: translate(-8px, -50%) !important; background: none; border: 0; }
.case-nav.rail.show { transform: translate(0, -50%) !important; }
.case-nav.rail::after { content: none; }
.case-nav.rail .case-nav-inner { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; padding: 0 0 0 16px !important; background: none !important; box-shadow: none !important; border: 0 !important; overflow: visible !important; backdrop-filter: none !important; border-radius: 0 !important; }
.case-nav.measuring { visibility: hidden !important; display: block; }
.case-nav.rail .case-nav-track { display: block; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: rgba(37,35,37,.10); }
.case-nav.rail .case-nav-fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 0) * 100%); border-radius: 2px; background: var(--accent); }
.case-nav.rail a { position: relative; padding: 5px 0 !important; border-radius: 0 !important; background: none !important; font-family: "Inter", sans-serif; font-size: 12px !important; letter-spacing: .2px; text-transform: none !important; white-space: nowrap; color: #a0a0a6 !important; transition: color .25s ease, transform .25s ease; }
.case-nav.rail a:hover { color: #252325 !important; }
.case-nav.rail a.done { color: #6b6b72 !important; }
.case-nav.rail a.active { color: #111 !important; font-weight: 600; transform: translateX(3px); background: none !important; }
.case-nav.rail a.active::before { content: ""; position: absolute; left: -18px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #fff; }
